View source: R/Functions_class_MSdata.R
constructRawLayout | R Documentation |
Constructor function for the rawLayout S3 class, holding information on MSdata grouping and layout options in Metaboseek.
constructRawLayout(rawgrouptable, stem = NULL, msnExp = NULL)
rawgrouptable |
a data.frame with columns File and Group , holding file paths and group names, respectively. |
stem |
if the file paths in rawgrouptable are not full (e.g. subdirectories of the working directory), this should be the path of the working directory. |
msnExp |
if not NULL, must be an |
If msnExp
is provided, will generate an element called
MSnExp_summary
in the resulting rawLayout
which is a data.frame
containing information that can be used for normalization. Columns in
MSnExp_summary
:
sampleNames
File names of raw files
bpmeans
mean values of the basepeak intensity for each file
ticmeans
mean values of the TIC intensity for each file
normfactor_bp
normalization factor for each file based on base peak
normfactor_tic
normalization factor for each file based on TIC intensity peak
Multiplying all intensity values for each file with their normfactors will yield the same mean intensity for all files.
a rawLayout
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.