View source: R/filter_ambient_ratio.R
filter_ambient_ratio | R Documentation |
This function allows you to filter compounds based on a threshold ratio of a compound's mean area in floral samples vs. ambient samples
filter_ambient_ratio(chemtable, sampletable, metadata, ratio = 3)
chemtable |
the data frame of the data about the compounds |
sampletable |
the wide data frame with samples in rows and compound names in columns, containing peak areas |
metadata |
the data frame that contains meta data about the group, type, and other attributes of each sample |
ratio |
the minimum ratio of mean areas from floral to ambient samples |
data(GCMSfloral) chemtable <- filter_ambient_ratio(chemtable, sampletable, metadata, ratio=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.