[BioC] CPU time of Anova in R

Wolfgang Huber huber at ebi.ac.uk
Mon Jul 11 17:00:26 CEST 2005


Adaikalavan Ramasamy wrote:
> This might be slightly faster
> 
> apply( Exprs, 1, function(x){ anova( lm( x ~ scheme ) )[1,5] } )
> 
> and should get you the correct names from Exprs. BTW, have you
> considered using LIMMA which is designed for such purposes.

Yes.

Regarding Adaikalavan's suggestion, also check the function esApply in 
Biobase, which is a little convenience wrapper for apply for use with 
exprSets (but same speed).

Best regards
   Wolfgang

-------------------------------------
Wolfgang Huber
European Bioinformatics Institute
European Molecular Biology Laboratory
Cambridge CB10 1SD
England
Phone: +44 1223 494642
Fax:   +44 1223 494486
Http:  www.ebi.ac.uk/huber



More information about the Bioconductor mailing list