[BioC] subset of RG - limma
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Fri Dec 22 10:35:07 CET 2006
Hi
RG$weights is a matrix of values, as is RG$R, RG$G etc etc
With
RG[RG$weights>0.1,]
You are filtering RG by it's rows, using a whole matrix to subset it!
If you want to subset on the first column of weights, try:
RG[RG$weights[,1]>0.1,]
Mick
-----Original Message-----
From: bioconductor-bounces at stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of João Fadista
Sent: 22 December 2006 09:30
To: bioconductor at stat.math.ethz.ch
Subject: [BioC] subset of RG - limma
Dear all,
I would like to know how can I take out from my RGList all the rows where RG$weights<= 0.1
I tried this but it doesn´t work:
> RG[RG$weights>0.1,]
Error in `[.RGList`(RG, RG$weights > 0.1, ) :
(subscript) logical subscript too long
Best regards
João Fadista
Ph.d. student
Danish Institute of Agricultural Sciences
Research Centre Foulum
Dept. of Genetics and Biotechnology
Blichers Allé 20, P.O. BOX 50
DK-8830 Tjele
Phone: +45 8999 1900
Direct: +45 8999 8999
E-mail: Joao.Fadista at agrsci.dk <mailto:Joao.Fadista at agrsci.dk>
Web: www.agrsci.org <http://www.agrsci.org/>
________________________________
News and news media <http://www.agrsci.org/navigation/nyheder_og_presse> .
This email may contain information that is confidential. Any use or publication of this email without written permission from DIAS is not allowed. If you are not the intended recipient, please notify DIAS immediately and delete this email.
[[alternative HTML version deleted]]
More information about the Bioconductor
mailing list