Hi
I recently discovered that when I run the abundance_estimates_to_matrix script, I only get the counts.matrix and not the TMM.matrix. I get the error
> library(edgeR)
Error in library(edgeR) : there is no package called ‘edgeR’
Execution halted
when I try to run the
R --vanilla -q < __tmp_runTMM.R 1>&2
command directly from the terminal.
I can, however, open a terminal for R directly, and when I am in the R terminal, I can load the packages without problems, indicating that they are installed on the machine (I am running on a cluster). I have also tried copying the commands from __tmp_runTMM.R 1>&2, but genes.TMM.fpkm.matrix is still empty.
Has anyone experienced this or have suggestion has to how I proceed?
Obviously, creating the matrices is only one problem, but I will not be able to use any of the scripts that uses R "internally" unless I solve this.
Thanks in advance.
Sjannie