[R] Error in DGEList function

Martin Morgan mtmorgan at fhcrc.org
Fri Oct 15 15:19:43 CEST 2010


On 10/15/2010 06:17 AM, Ying Ye wrote:
> Hi!
> 
> I am a new R user and have no clue of this error (see below) while using
> edgeR package:

edgeR is a Bioconductor pacakge so please subscribe to the Bioconductor
list and ask there.

http://bioconductor.org/help/mailing-list/

include the output of the sessionInfo() command after library(edgeR)

Martin

> 
>> 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 at 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.


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793



More information about the R-help mailing list