filter.NA: 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
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
same as the input eset object, except for the genes excluded.
if (interactive()){
data(yeast) # data set includes 17 measurementsyeastF <- filter.NA(yeast) # genes are excluded if more than 4 measurements are missing}