compactOutput_pmolCalc: Make Compact Output Containing Pico Mol Calculations

Description Usage Arguments Value Author(s) Examples

View source: R/compactOutput_pmolCalc.R

Description

compactOutput_pmolCalc saves a compact version of data.frame NAME, CLASS_PMOL_SUBT_PMOL_*, and MOL_PCT_CLASS_SUBT_PMOL_* columns

Usage

1
compactOutput_pmolCalc(data, userSpecifiedColnames = NULL)

Arguments

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.

Value

a compact data output comprising of pmol and pmol related columns

Author(s)

André Vidas Olsen

Examples

 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)

ELELAB/lipidQ documentation built on Feb. 24, 2020, 12:54 a.m.