[Bioc-sig-seq] Error in DGEList function in edgeR
Heidi Dvinge
heidi at ebi.ac.uk
Fri Oct 15 19:45:09 CEST 2010
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
> Bioc-sig-sequencing at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
>
More information about the Bioc-sig-sequencing
mailing list