[BioC] Filter out genes with small profile variance from gene expression data

Martin Morgan mtmorgan at fhcrc.org
Mon Mar 10 05:52:44 CET 2014


On 03/09/2014 09:00 PM, Jerry Cholo wrote:
>
>
> Hello,
>
>
>
> The following are the command lines that I have been using to filter out
> genes with small profile variance from gene expression data by Matlab.

The genefilter package varFilter function does what you want; base R's apply 
function also does this type of operation. Martin

>
>
>
> ----------------------------------------------------------------------
>
> % filter genes with small profile variance
>
> % less than 25 percentile will be removed from the data
>
> mask = genevarfilter(Data,'Percentile',25);
>
> % Use the mask as an index into the values to remove the filtered data
>
> Data = Data (mask,:);
>
> % GeneSymbols located in the first column of the data
>
> GeneSymbols = GeneSymbols(mask);
>
> ----------------------------------------------------------------------
>
> I need to use R package to perform this task. May someone let me know which
> functions I could use to do all these tasks?
>
>
>
> Thanks,
>
> Jerry
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>


-- 
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the Bioconductor mailing list