Description Usage Arguments Author(s) Examples
View source: R/compSetRatios.R
Compute metabolite ratios from a metaboSet object
1 | compSetRatios(obj, l2add = names(obj$Data), lpairs = RatiosGR, conv2set = FALSE)
|
obj |
metaboSet object |
l2add |
List of matrices in obj for which the ratios are computed |
lpairs |
List of pairs: if it loads |
conv2set |
Should the resulting calculation converted to metaboSet object |
David Enot david.enot@gustaveroussy.fr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | (testfiles=list.files(system.file( package = "GRMeta"),pattern = "txt$",full.names = TRUE))
mydata1=loadAgilentData(ifile =testfiles[1],params = list(AssayName="assay1"))
res=compSetRatios(mydata1,l2add="Area",conv2set=FALSE)
res
## convert to metaboSet
res=compSetRatios(mydata1,l2add="Area",conv2set=TRUE)
res
##
mydata2=loadAgilentData(ifile =testfiles[2],params = list(AssayName="assay2"))
cmbdata=mergeSet(mydata1,mydata2)
res=compSetRatios(cmbdata,l2add="Area",conv2set=TRUE)
res
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.