replace_na {RAMClustR} | R Documentation |
replace_na
Description
add rc.feature.replace.na params in ramclustObj
Usage
replace_na(data, replace.int, replace.zero, replace.noise)
Arguments
data |
selected data frame to use |
replace.int |
default = 0.1. proportion of minimum feature value to replace NA (or zero) values with |
replace.zero |
logical if TRUE, any zero values are replaced with noise as if they were NA values |
replace.noise |
default = 0.1. proportion ofreplace.int value by which noise is added via 'jitter' |
Value
selected ramclustR data frame with NA and zero values removed.
number of features replaced
[Package RAMClustR version 1.3.1 Index]