View source: R/standardize_finaltable.R
standardize_finaltable | R Documentation |
Divides peak areas by the amount (biomass, counts) of each floral sample in metadata, or by the sample sum to create percentages.
standardize_finaltable(finaltable, metadata, percent = FALSE)
finaltable |
the wide data frame with samples in rows and compound names in columns, containing peak areas for floral samples only |
metadata |
the data frame that contains meta data about the group, type, and other attributes of each sample |
percent |
if TRUE, divide by row sums instead of amount |
finaltable
data(GCMSfloral) standardize_finaltable(finaltable, metadata, percent = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.