retrieve and parse sample names, retrieve metabolite data. returns as list of two data frames
getData(
ramclustObj = NULL,
which.data = "SpecAbund",
delim = "-",
cmpdlabel = "cmpd",
filter = FALSE
)
returns a list of length 3: $design is the experimental sample factors after parsing by the delim, $data is the dataset, $full.data is merged $des and $data data.frames.
ramclustR object to retrieve data from
character; which dataset (SpecAbund or SpecAbundAve) to reference
character; "-" by default - the delimiter for parsing sample names to factors
= "cmpd"; label the data with the annotation. can also be set to 'ann' for column names assigned as annotatins.
= TRUE; logical, if TRUE, checks for $cmpd.use slot generated by rc.cmpd.cv.filter() function, and only gets acceptable compounds.
Corey Broeckling
convenience function for parsing sample names and returning a dataset.