generangefilter

Remove gene profiles with small profile ranges

Syntax

Mask = generangefilter(Data,
                       'PropertyName', PropertyValue...)
[Mask, FData] generangefilter(Data)
[Mask, FData, FNames] = generangefilter(Data, Names)

generangefilter(..., 'Prctile', PrctileValue)
generangefilter(..., 'AbsValue', AbsValueValue)
generangefilter(..., 'LOGPrctile', LOGPrctileValue)
generangefilter(..., 'LOGValue', LOGValueValue)

Arguments

Data

Matrix where each row corresponds to the experimental results for one gene. Each column is the results for all genes from one experiment.

Names

Cell array with the same number of rows as Data. Each row contains the name or ID of the gene in the data set.

Prctile

Property to specify a percentile below which gene expression profiles are removed. Enter a value from 0 to 100.

AbsValue

Property to specify an absolute value below which gene expression profiles are removed.

LOGPrctile

Property to specify the LOG of a percentile.

LOGValue

Property to specify the LOG of an absolute value.

Description

Mask = generangefilter(Data, 'PropertyName', PropertyValue...) calculates the range for each gene expression profile in Data, and then identifies the expression profiles with ranges less than the 10th percentile.

Mask is a logical vector with one element for each row in Data. The elements of Mask corresponding to rows with a range greater then the threshold have a value of 1, and those with a range less then the threshold are 0.

[Maks, FData] = generangefilter(Data) returns a filtered data matrix (FData). FData can alos be created using FData = Data(find(I),:).

[Maks, FData, FNames] = generangefilter(Data, Names) returns a filtered names array (FNames), where Names is a cell array of the names of the genes corresponding to each row of Data. FNames can also be created using FNames = Names(I).

generangefilter(..., 'Prctile', PrctileValue) removes from Data gene expression profiles with ranges less than the percentile Prctile.

generangefilter(..., 'AbsValue', AbsValueValue) removes from Data gene expression profiles with ranges less than AbsValue.

generangefilter(..., 'LOGPrctile', LOGPrctileValue) filters genes with profile ranges in the lowest LOGPrctile percent of the log range.

generangefilter(..., 'LOGValue', LOGValueValue) filters genes with profile log ranges lower than LOGValue.

Examples

load yeastdata
[mask, fyeastvalues, fgenes] = generangefilter(yeastvalues,genes);

See Also

Bioinformatics Toolbox functions exprprofrange, geneentropyfilter, genelowvalfilter, genevarfilter


© 1994-2005 The MathWorks, Inc.