View source: R/rc.expand.sample.names.R
rc.expand.sample.names | R Documentation |
turn concatenated sample names into factors
rc.expand.sample.names(
ramclustObj = NULL,
delim = "-",
factor.names = TRUE,
quiet = FALSE
)
ramclustObj |
ramclustObj containing MSdata with optional MSMSdata (MSe, DIA, idMSMS) |
delim |
what delimiter should be used to separate names into factors? '-' by default |
factor.names |
logical or character vector. if TRUE, user will enter names one by on in console. If character vector (i.e. c("trt", "time")) names are assigned to table |
quiet |
logical . if TRUE, user will not be prompted to enter names one by on in console. |
THis function only works on newer format ramclustObjects with a $phenoData slot.
This function will split sample names by a delimiter, and enable users to name factors
ramclustR object with normalized data.
Corey Broeckling
Broeckling CD, Afsar FA, Neumann S, Ben-Hur A, Prenni JE. RAMClust: a novel feature clustering method enables spectral-matching-based annotation for metabolomics data. Anal Chem. 2014 Jul 15;86(14):6812-7. doi: 10.1021/ac501530d. Epub 2014 Jun 26. PubMed PMID: 24927477.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.