Learn R Programming

erah (version 1.0.0)

newExp: New Experiment

Description

Sets a new experiment for eRah

Usage

newExp(instrumental, phenotype=NULL, info=character())

Arguments

instrumental
The path where the instrumental .csv file is located.
phenotype
(optional) The path where the phenotypic .csv file is located.
info
Experiment description

Value

  • newExp returns an S4 object of the class 'MetaboSet'.

Details

See eRah vignette for more details. To open the vignette, execute the following code in R: vignette("eRahManual", package="erah")

(Available also in http://metabolomicsplatform.com/applications).

References

[1] eRah: an R package for spectral deconvolution, alignment, and metabolite identification in GC/MS-based untargeted metabolomics. Xavier Domingo-Almenara, Alexandre Perera, Maria Vinaixa, Sara Samino, Xavier Correig, Jesus Brezmes, Oscar Yanes. (2016) Article in Press.

See Also

createdt, setDecPar, setAlPar

Examples

Run this code
# Store all the raw data files in one different folder per class,
# and all the class-folders in one folder, which is the experiment
# folder. Then execute

# createdt(path)

# where path is the experiment folder path.
# The experiment can be now started by:

# ex <- newExp(instrumental="path/DEMO_inst.csv", 
# phenotype="path/DEMO_pheno.csv", info="DEMO Experiment")

Run the code above in your browser using DataLab