Hello Mike, > >> 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) >> If you look at ?DGEList you'll see that none of the input arguments are called "data", hence hte error about an unused argument. You probably want DGEList(counts = y, group = grouping, lib.size = size).
HTH \Heidi >> >> And g1 and g2 are two defined groups. Could anyone kindly interpret >> this? >> >> Many thanks! >> >> mikecrux > > _______________________________________________ > Bioc-sig-sequencing mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing > _______________________________________________ Bioc-sig-sequencing mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
