Splitting a limma MAlist by a factor
1
0
Entering edit mode
@sean-davis-490
Last seen 7 weeks ago
United States
I would like to do: MA.split <- split(MA,factor1) However, because MAlists are formal classes, such a construct doesn't seem to work. Does anyone have an easy of splitting an MAlist like this? Thanks, Sean
• 682 views
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 44 minutes ago
WEHI, Melbourne, Australia
>Date: Fri, 28 Jan 2005 07:27:56 -0500 >From: Sean Davis <sdavis2@mail.nih.gov> >Subject: [BioC] Splitting a limma MAlist by a factor >To: Bioconductor <bioconductor@stat.math.ethz.ch> > >I would like to do: > >MA.split <- split(MA,factor1) > >However, because MAlists are formal classes, such a construct doesn't >seem to work. Does anyone have an easy of splitting an MAlist like >this? a <- levels(factor1) x <- list() for (i in a) x[[i]] <- MA[factor1==i,] Gordon >Thanks, >Sean
ADD COMMENT

Login before adding your answer.

Traffic: 479 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6