getData | R Documentation |
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
)
ramclustObj |
ramclustR object to retrieve data from |
which.data |
character; which dataset (SpecAbund or SpecAbundAve) to reference |
delim |
character; "-" by default - the delimiter for parsing sample names to factors |
cmpdlabel |
= "cmpd"; label the data with the annotation. can also be set to 'ann' for column names assigned as annotatins. |
filter |
= TRUE; logical, if TRUE, checks for $cmpd.use slot generated by rc.cmpd.cv.filter() function, and only gets acceptable compounds. |
convenience function for parsing sample names and returning a dataset.
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.
Corey Broeckling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.