Learn R Programming

viper (version 1.6.0)

filterCV: Coefficient of variation filter

Description

This function filter redundant probes based on the highest coefficient of variation

Usage

filterCV(expset, ...)
"filterCV"(expset)
"filterCV"(expset)

Arguments

expset
Expression set or Matrix containing the gene expression data, with samples in columns and probes in rows. The colnames attribute should contain the sample names and the rownames attribute should contain the unique geneIDs
...
Additional parameters added to keep compatibility

Value

CV filtered dataset

Examples

Run this code
data(bcellViper, package="bcellViper")
d1 <- exprs(dset)
tmp <- rownames(d1)
tmp[round(runif(10, 1, length(tmp)))] <- tmp[1]
rownames(d1) <- tmp
dim(d1)
d1 <- filterCV(d1)
dim(d1)

Run the code above in your browser using DataLab