os.clean {OmicSense} | R Documentation |
Clean data by eliminating predictors with many missing values
Description
Clean data by eliminating predictors with many missing values
Usage
os.clean(x, missing = 0.1, lowest = 10)
Arguments
x |
A data matrix (raw: samples, col: predictors). |
missing |
A ratio of missing values in each column allowed to be remained in the data. |
lowest |
The lowest value to be leaved in the data. |
Value
A data matrix (raw: samples, col: qualified predictors)
Author(s)
Takahiko Koizumi
Examples
data(Pinus)
train.raw <- Pinus$train
ncol(train.raw)
train <- os.clean(train.raw)
ncol(train)
[Package OmicSense version 0.2.0 Index]