This function removes the p lowest variance features from a matrix. The function expects features in rows and samples in columns (e.g. an expression matrix).
Usage
remove_var(x, ...)
# S3 method for class 'matrix'
remove_var(x, p)
# S3 method for class 'data.frame'
remove_var(x, p)
# S3 method for class 'SummarizedExperiment'
remove_var(x, p, assay = "counts")
# S3 method for class 'DelayedArray'
remove_var(x, p)