View source: R/load_longdata.R
load_longdata | R Documentation |
Loads long-format GC-MS data and standardizes the column names and match scores
load_longdata(data, sample, RT, name, area, match, maxmatch = 100)
data |
the long format data frame |
sample |
the string that species the sample ID |
RT |
the string that specifies the peak area retention time |
name |
the string that specifies the compound name |
area |
the string that specifies the integrated peak area |
match |
the numeric match score (dot product of unknown and database spectra) |
maxmatch |
numerical value that specifies the maximum value possible for the match score (usually 100 or 1000) |
longdata, a data frame with the standard column names and types, with match score relative to 1
data(GCMSfloral) longdata <- load_longdata(GCMS_output, "Sample", "RT", "Name", "Area", "Match", maxmatch=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.