Description Usage Arguments Value Author(s) Examples
View source: R/plotQC_totalLipids.R
This function creates QC plots of MS1 intensity data
1 | plotQC_totalLipids(data, userSpecifiedColnames = NULL, pathToOutput = "")
|
data |
data formatted by the use of the compactOutput_pmolCalc function from LipidQ. |
userSpecifiedColnames |
the column names template file containing user specified column names for the input data. |
pathToOutput |
the directory path to save the plots |
barplots of pmol for every lipid class as well as one barplot of the total amount of lipids for each sample
André Vidas Olsen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # load user specified column names
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
classPmol_molPctClass_compact <- compactOutput_pmolCalc(
pmolCalculatedDataSet, userSpecifiedColnames = userSpecifiedColnames)
# create QC plot of of total lipids
plotQC_totalLipids(data = classPmol_molPctClass_compact,
userSpecifiedColnames = userSpecifiedColnames,
pathToOutput = "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.