Remove rows with low variance and impute missing data
adjust_matrix(m, sd_quantile = 0.05, max_na = 0.25)
a numeric matrix.
cutoff the quantile of standard variation. Rows with variance less than it are removed.
maximum NA rate in each row. Rows with NA rate larger than it are removed.
The function uses
impute.knn to impute missing data, then
adjust_outlier to adjust outliers and
removes rows with low standard variation.
A numeric matrix.
Zuguang Gu <[email protected]>
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.