Description Usage Arguments Value Author(s) Examples
View source: R/compactOutput_pmolCalc.R
compactOutput_pmolCalc saves a compact version of data.frame NAME, CLASS_PMOL_SUBT_PMOL_*, and MOL_PCT_CLASS_SUBT_PMOL_* columns
1 | compactOutput_pmolCalc(data, userSpecifiedColnames = NULL)
|
data |
data formatted by the use of the mergeDataSet function from LipidQ. |
userSpecifiedColnames |
the column names template file containing user specified column names for the input data. |
a compact data output comprising of pmol and pmol related columns
André Vidas Olsen
1 2 3 4 5 6 7 8 9 10 11 12 13 | # load user specified column names file.
userSpecifiedColnames <- read.table(system.file("extdata/LipidQ_DataBase",
"userSpecifiedColnames.csv", package = "lipidQ"),
stringsAsFactors = FALSE, header = TRUE, sep = ",")
# load pmolCalculatedDataSet.csv made by using the pmolCalc() function
pmolCalculatedDataSet <- read.table(system.file("extdata/dataTables/checks",
"pmolCalculatedDataSet.csv", package = "lipidQ"),
stringsAsFactors = FALSE, header = TRUE, sep = ",")
# make compact output from pmolCalculatedDataSet
compact_output <- compactOutput_pmolCalc(pmolCalculatedDataSet,
userSpecifiedColnames = userSpecifiedColnames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.