View source: R/filter_leaf_ratio.R
filter_leaf_ratio | R Documentation |
This function allows you to filter compounds based on whether the quantity of a compound in leaf samples vs. floral samples is significantly different by comparing the ratio of a compound in the floral samples to the leaf samples.
filter_leaf_ratio(chemtable, sampletable, metadata, ratio, leafgroup)
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 Defaults to XXX |
leafgroup |
the name of the column in the metadata that shows how leaf samples are related to floral samples |
filter_leaf_ratio()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.