[BioC] limma

Naomi Altman naomi at stat.psu.edu
Mon Nov 27 18:19:29 CET 2006


I usually do this using an indicator function.

e.g.
select=(eBayes.out$coef[,1]>1)               # 
selects genes for which the first coef is bigger than 1

MA[select,]                 # is the set of genes for which select=T
MA[!select,]                # is the set of genes for which select=F

--Naomi


At 11:42 AM 11/27/2006, Sean Davis wrote:
>On Monday 27 November 2006 11:28, João Fadista 
>wrote: > Dear all, > > Does anybody know how can 
>I remove values from an MAList? > I want to 
>remove some values from a column in MA$genes 
>dataframe, and > consequently remove those rows 
>from MA$genes and MA$M. Subsetting works fine 
>with MAList objects, I think.  To remove the 
>first five genes, you would do something like: 
>MA[-c(1:5),] To remove the first five samples, 
>you could do something like: MA[,-c(1:5)] In 
>other words, rows are genes and columns are 
>samples. Sean 
>_______________________________________________ 
>Bioconductor mailing list 
>Bioconductor at stat.math.ethz.ch 
>https://stat.ethz.ch/mailman/listinfo/bioconductor 
>Search the archives: 
>http://news.gmane.org/gmane.science.biology.informatics.conductor

Naomi S. Altman                                814-865-3791 (voice)
Associate Professor
Dept. of Statistics                              814-863-7114 (fax)
Penn State University                         814-865-1348 (Statistics)
University Park, PA 16802-2111



More information about the Bioconductor mailing list