generangefilter
Remove gene profiles with small profile ranges
Syntax
Mask = generangefilter(Data)
[Mask, FData]
= generangefilter(Data)
[Mask, FData, FNames]
= generangefilter(Data, Names)
generangefilter(..., 'Percentile', PercentileValue,
...)
generangefilter(..., 'AbsValue', AbsValueValue,
...)
generangefilter(..., 'LogPercentile', LogPercentileValue,
...)
generangefilter(..., 'LogValue', LogValueValue,
...)
Arguments
Data | DataMatrix object or numeric 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 of character vectors or string vector where each element corresponds to the
name of a gene for each row of experimental data.
|
PercentileValue | Property to specify a percentile below which gene expression
profiles are removed. Enter a value from |
AbsValueValue | Property to specify an absolute value below which gene expression profiles are removed. |
LogPercentileValue | Property to specify the logarithm of a percentile. |
LogValueValue | Property to specify the logarithm of an absolute value. |
Description
calculates
the range for each gene expression profile in Mask = generangefilter(Data)Data,
a DataMatrix object or
matrix of the experimental 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 than the threshold have a value of 1, and
those with a range less than the threshold are 0.
[ returns Mask, FData]
= generangefilter(Data)FData,
a filtered data matrix. You can also create FData using . FData =
Data(Mask,:)
[
returns Mask, FData, FNames]
= generangefilter(Data, Names)FNames, a filtered names array, where
Names is a cell array of character vectors or string
vector of the names of the genes corresponding to each row in
Data. You can also create
FNames using . FNames =
Names(Mask)
Note
If Data is a DataMatrix object with
specified row names, you do not need to provide the second input Names to
return the third output FNames.
generangefilter(..., ' calls PropertyName', PropertyValue,
...)generangefilter with optional
properties that use property name/property value pairs. You can specify
one or more properties in any order. Each PropertyName must
be enclosed in single quotation marks and is case insensitive. These
property name/property value pairs are as follows:
generangefilter(..., 'Percentile', removes from the experimental data ( PercentileValue,
...)Data)
gene expression profiles with ranges less than a specified percentile
(PercentileValue).
generangefilter(..., 'AbsValue', removes from AbsValueValue,
...)Data gene
expression profiles with ranges less than AbsValueValue.
generangefilter(..., 'LogPercentile', filters genes with profile ranges in the lowest percent
of the log range (LogPercentileValue,
...)LogPercentileValue).
generangefilter(..., 'LogValue', filters genes with profile log ranges lower than LogValueValue,
...)LogValueValue.
Examples
Load the MAT-file, provided with the Bioinformatics Toolbox™ software, that contains yeast data. This MAT-file includes three variables:
yeastvalues, a matrix of gene expression data,genes, a cell array of GenBank® accession numbers for labeling the rows inyeastvalues, andtimes, a vector of time values for labeling the columns inyeastvaluesload yeastdataRemove gene profiles with small profile ranges.
[mask, fyeastvalues, fgenes] = generangefilter(yeastvalues,genes);
References
[1] Kohane I.S., Kho A.T., Butte A.J. (2003), Microarrays for an Integrative Genomics, Cambridge, MA:MIT Press.
Version History
Introduced before R2006a
See Also
exprprofrange | exprprofvar | geneentropyfilter | genelowvalfilter | genevarfilter