Filtering of genes based on number of non-available expression values.

Description

This function can be used to exclude genes with a large number of expression values not available.

Usage

1
filter.NA(eset,thres=0.25)

Arguments

eset

object of the class “ExpressionSet”.

thres

threshold for excluding genes. If the percentage of missing values (indicated by NA in the expression matrix) is larger than thres, the corresponding gene will be excluded.

Value

The function produces an object of the ExpressionSet class. It is the same as the input eset object, except for the genes excluded.

Author(s)

Matthias E. Futschik (http://www.sysbiolab.eu)

Examples

1
2
3
4
if (interactive()){
data(yeast) # data set includes 17 measurements
yeastF <- filter.NA(yeast) # genes are excluded if more than 4 measurements are missing
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.