View source: R/DOC_QA_QC_funs.R
checkDistance | R Documentation |
Check Distance Function to check the distance between pairs
checkDistance(df, threshold = 1)
df |
Data frame with (at least) columns "DOC" and "sampleID"; otherwise this will throw an error. |
threshold |
Specifies the threshold value for classifying a pair of DOC replicates as "far" apart or not. Default is 1: e.g. points are "far" if the higher one is more than 100% greater than the lower one. If you set a threshold over 2, the function will warn you that this threshold may be unreasonable/not helpful, but it won't stop you from setting the threshold to whatever you want. |
A data frame containing sampleID's and the result of the near/far check, only.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.