Hi,
I can not seem to make voomWithQualityWeights work.
Could you please help me?
1. LIMMA is installed (see version below) and help command for voomWithQualityWeights() works but the function is not found by R:
>voomWithQualityWeights()
Error in voomWithQualityWeights() :
could not find function "voomWithQualityWeights"
#x is a DGEList object generated by LIMMA, which was used to generate lmFit and voom object
>voomWithQualityWeights(x$counts,design=des)
Error in voomWithQualityWeights() :
could not find function "voomWithQualityWeights"
>voomWithQualityWeights(x,design=des)
Error in voomWithQualityWeights() :
could not find function "voomWithQualityWeights"
2. Installed versions:
> sessionInfo()
R version 3.4.1 (2017-06-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.5 LTS
other attached packages:
[1] BiocInstaller_1.26.0 RColorBrewer_1.1-2 edgeR_3.18.1
[4] limma_3.32.5
3. Help command is working for voomWithQualityWeights:
?voomWithQualityWeights is working showing help page
help(voomWithQualityWeights) is working showing help page
#The following commands are working for the x DGEList object (x) and for the design (des):
v <- voom(x, des, plot=TRUE)
vfit <- lmFit(v, design)
vfit <- contrasts.fit(vfit, contrasts=contrast.matrix)
efit <- eBayes(vfit)
plotSA(efit)