Usage
contam_test(.df, ..., otu = "otu", freq = "freq", conc = "PostPCRConc")
Arguments
- .df
- the data frame
- ...
- the grouping variables (unquoted), i.e. ExtractionType and SampleType
- otu
- the column with unique otu names
- freq
- the column denoting OTU proportional abundance (as string)
- conc
- the column containing amplicon concentration data
Value
the data frame with correlation results added in for each OTU
Description
Test for an OTU's (inverse) correlation between its abundance and amplicon concentration.