[R] Error in DGEList function

Ying Ye mikecrux at gmail.com
Fri Oct 15 15:17:37 CEST 2010


Hi!

I am a new R user and have no clue of this error (see below) while  
using edgeR package:

 > Y <- clade_reads
 > y <- Y[,c(g1,g2)]
 > grouping <- c( rep(1,length(g1)), rep(2,length(g2)) )
 > size <- apply(y, 2, sum)
 > d <- DGEList(data = y, group = grouping, lib.size = size)
Error in DGEList(data = y, group = grouping, lib.size = size) :
   unused argument(s) (data = y)


And g1 and g2 are two defined groups. Could anyone kindly interpret  
this?

Many thanks!

mikecrux



More information about the R-help mailing list