remove.low.cv that removes variables with low variation.
From a matrix/data.frame (samples in rows, features in columns), it computes the coefficient of variation for every features (columns)
and return a filtered data.frame with features for which the coefficient of variation is above a given threshold.
remove.low.cv(X, cutoff = 0.5)
a numeric value
mat <- matrix(sample(1:3, size = 200, replace = TRUE), ncol=20) remove.low.cv(mat, 0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.