Hello all:
I am trying to use DESeq2 in R. I try to install the library through bioconductor, but then receive the following errors:
Loading required package: GenomeInfoDb Error: package or namespace load failed for ‘GenomeInfoDb’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘GenomeInfoDbData’ Error: package ‘GenomeInfoDb’ could not be loaded
and
dds <- DESeqDataSetFromTximport(txi, met, ~condition) Error in DESeqDataSetFromTximport(txi, met, ~condition) : could not find function "DESeqDataSetFromTximport" test = DESeq(dds) Error in DESeq(dds) : could not find function "DESeq" res = results(test) Error in results(test) : could not find function "results"
Within the DESeq package.
To solve the error I have uninstalled and tried install.packages(DESeq2), and BiocManager::install(DESeq2) and am still not able to download the package fully and execute my command. Is this a permissions issue, or an issue with the package or my path/data?
Thank you for your reply! I tried installing "GenomeInfoDb" manually through "packages" and used the zip files, however I am receiving another error message:
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Loading required package: S4Vectors
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
Loading required package: IRanges
Attaching package: ‘IRanges’
The following object is masked from ‘package:grDevices’:
Error: package ‘GenomeInfoDb’ required by ‘GenomicRanges’ could not be found
Do not do this! You will create errors that we cannot help you with. Again, only use BiocManager for Bioconductor.