View source: R/make_report_table.R
make_detection_table | R Documentation |
Creates a detection data.frame from CQ results, suitable for summary reports.
make_detection_table( df, threshold = 40, labs = c("ND", "(+)"), cq_col = "Cq", target_col = "Target", filter_col = "FilterID" )
df |
data.frame of CQ results, as returned by |
threshold |
numeric, the threshold CQ, below which is considered a detection |
labs |
character vector of length 2 corresponding to the string to label for 0 (nondetect) and 1 (detect) |
cq_col |
string, the name of the CQ column |
target_col |
string, the name of the target column |
filter_col |
string, the name of the filter column |
data.frame of detection table
Matt Espe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.