View source: R/load_metadata.R
load_metadata | R Documentation |
Loads metadata about the samples
load_metadata(metadata, date = NULL, sample, group = NULL, type, amount = NULL)
metadata |
data frame of sample metadata |
date |
the text date of sampling |
sample |
the string that specifies the sample ID |
group |
a vector of columns that specifies species or treatment groups |
type |
the column that specifies what type of sample it is (e.g. floral, ambient control, etc.). Levels should be c("floral", "ambient", "leaf") |
amount |
the string that specifies the amount used for standardization (e.g. flower number or mass) |
metadata, a data frame with the standard column names and types
data(GCMSfloral) metadata <- load_metadata(GCMS_metadata, "SampleDate", "Filename", c("Cross", "Time"), "Type", "Flrs")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.