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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to