Hi,
here's my lines, basically taken from the EdgeR manual. I always get this error.
> library("edgeR")
> x <- read.delim("counts",row.names="geneid")
> group <- factor(c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2))
> y <- DGEList(counts=x,group=group)
> y <- calcNormFactors(y)
> design <- model.matrix(~group)
> y <- estimateDisp(y,design)
Loading required package: splines
> fit <- glmQLFit(y,design)
Error: could not find function "glmQLFit"
Thanks for any help..
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] C
attached base packages:
[1] splines stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] locfit_1.5-9.1 edgeR_3.6.8 limma_3.20.8
loaded via a namespace (and not attached):
[1] grid_3.1.1 lattice_0.20-29
As you've noticed, your installation is three releases behind the current Bioconductor release. Updating to the latest versions of everything (R 3.2.4, edgeR 3.12.1) should solve the issue. For future reference, you should put the edgeR tag in your original question (i.e., alongside software error), otherwise the maintainers won't be notified.