View source: R/rc.cmpd.replace.na.R
rc.cmpd.replace.na | R Documentation |
replaces any NA (and optionally zero) values with small signal (20
rc.cmpd.replace.na(
ramclustObj = NULL,
replace.int = 0.1,
replace.noise = 0.1,
replace.zero = TRUE
)
ramclustObj |
ramclustObj containing SpecAbund dataset |
replace.int |
default = 0.2. proportion of minimum feature value to replace NA (or zero) values with |
replace.noise |
default = 0.2. proportion ofreplace.int value by which noise is added via 'jitter' |
replace.zero |
logical if TRUE, any zero values are replaced with noise as if they were NA values |
noise is added by finding for each feature the minimum detected value, multiplying that value by replace.int, then adding (replace.int*replace.noise) noise. abs() is used to ensure no negative values result.
ramclustR object with NA and zero values removed.
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.