marker_tag_plot {ORFID} | R Documentation |
Plot marker tag detections from Oregon RFID antenna readers
Description
Creates a time series plot containing only detection data from a user-specified marker tag (unique tag number).
Usage
marker_tag_plot(x, tag, gap)
Arguments
x |
antenna data compiled using |
tag |
marker tag identification (character object). |
gap |
minimum time gap in seconds between detections (optional). |
Details
Creates a plot object displaying marker tag detections. If a minimum time gap is specified, time gaps greater than the minimum specified are highlighted in red. This allows the user to identify periods when marker tags were not being detected as frequently as expected.
Value
Returns a ggplot2 object. If the plot is saved as a named object, ggplot2 functions, including theme
commands can be used to customize plot aesthetics, including axis labels, grid lines, etc.
Author(s)
Hugo Marques <biohmarques@gmail.com>
See Also
import_ORFID
for importing data files from Oregon RFID ORMR and ORSR antenna readers.
join_multireader_data
for combining data from Oregon RFID ORMR and ORSR antenna readers into a multi-reader array.
Examples
# Create a list containing compiled reader data:
readers <- list(reader_1, reader_2, reader_3)
# Join data into a multi-reader array:
PIT_data <- join_multireader_data(readers)
# Plot marker tag data and highlight gaps greater than 10 minutes.
marker_tag_plot(PIT_data, "0000_000000004978", gap = 600)