[BioC] subset MarrayList
Martin Morgan
mtmorgan at fhcrc.org
Thu Sep 13 01:33:28 CEST 2007
D <spam56 at gto.net> writes:
> Hi there,
>
> I'm trying to subset an Marraylist in limma to remove low intensity
> values before fitting the linear model. Forgive me if I'm missing
> something obvious, I'm a novice at R. Here's what I'm doing:
>
> A.filter<-MA$A<10
> MA.filterd<-MA[A.filter,]
>
> But I get:
>
> Error in '[.MAList'(MA,A.filter, ) : (subscript) logical subscript too long
I notice that MA.filterd has a 'd' on the end of it, and bet that
dim(MA.filtered) has fewer rows than length(MA.A.filter).
Martin
> It seems to be similar to what's shown in the user guide under the Weaver data:
>
> isGene <- MA$genes$Status == "Riken"
> fit <- lmFit(MA[isGene, ], design)
>
> Any help is appreciated
>
> D
>
> _______________________________________________
> 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
--
Martin Morgan
Bioconductor / Computational Biology
http://bioconductor.org
More information about the Bioconductor
mailing list