Entering edit mode
4.2 years ago
wes
▴
90
Dear All
I would like to install DESeq2 for DE analysis.
After I type the following script
if (!requireNamespace("BiocManager", quietly = TRUE)) + install.packages("BiocManager") BiocManager::install("DESeq2")
The following comes out:
package ‘backports’ successfully unpacked and MD5 sums checked
package ‘bit64’ successfully unpacked and MD5 sums checked
package ‘callr’ successfully unpacked and MD5 sums checked
package ‘glue’ successfully unpacked and MD5 sums checked
package ‘Hmisc’ successfully unpacked and MD5 sums checked
package ‘jsonlite’ successfully unpacked and MD5 sums checked
package ‘MASS’ successfully unpacked and MD5 sums checked
package ‘mgcv’ successfully unpacked and MD5 sums checked
package ‘nlme’ successfully unpacked and MD5 sums checked
package ‘processx’ successfully unpacked and MD5 sums checked
package ‘ps’ successfully unpacked and MD5 sums checked
package ‘RcppArmadillo’ successfully unpacked and MD5 sums checked
package ‘stringi’ successfully unpacked and MD5 sums checked
package ‘vctrs’ successfully unpacked and MD5 sums checked
package ‘xfun’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\ASUS\AppData\Local\Temp\RtmpCiM0wL\downloaded_packages
installing the source package ‘htmlTable’
trying URL 'https://cran.rstudio.com/src/contrib/htmlTable_2.1.0.tar.gz'
Content type 'application/x-gzip' length 421796 bytes (411 KB)
downloaded 411 KB
* installing *source* package 'htmlTable' ...
** package 'htmlTable' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'htmlTable'
finding HTML links ... done
SCB html
addStyles html
concatHtmlTables html
getHtmlTableStyle html
getHtmlTableTheme html
hasHtmlTableStyle html
htmlTable html
htmlTableWidget-shiny html
htmlTableWidget html
innerJoinByCommonCols html
interactiveTable html
outputInt html
prAddCells html
prAddEmptySpacerCell html
prAddSemicolon2StrEnd html
prAttr4RgroupAdd html
prBindDataListIntoColumns html
prConvertDfFactors html
prEscapeHtml html
prExtractElementsAndConvertToTbl html
prGetAlign html
prGetCgroupHeader html
prGetRgroupLine html
prGetRowlabelPos html
prGetScriptString html
prGetStyle html
prGetThead html
prIsNotebook html
prMergeClr html
prPrepInputMatrixDimensions html
prPrepareAlign html
prPrepareCgroup html
prPrepareColors html
prPrepareCss html
prSkipRownames html
prTblNo html
prepGroupCounts html
pvalueFormatter html
setHtmlTableTheme html
splitLines4Table html
tblNoLast html
tblNoNext html
tidyHtmlTable html
txtInt html
txtMergeLines html
txtPval html
txtRound html
vector2string html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (htmlTable)
The downloaded source packages are in
‘C:\Users\ASUS\AppData\Local\Temp\RtmpCiM0wL\downloaded_packages’
However, the function cannot be found when the following augment was typed:
DESeq.ds <- DESeqDataSetFromMatrix(countData=Fruit_ripening_TPM)
Error in DESeqDataSetFromMatrix(countData = Fruit_ripening_TPM) :
could not find function "DESeqDataSetFromMatrix"
Then, I tried to load the package but following comes out.
library("DESeq2")
Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ, clusterExport, clusterMap, parApply, parCapply,
parLapply, parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval,
evalq, Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget, order,
paste, pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort,
table, tapply, union, unique, unsplit, which, which.max, which.min
Attaching package: ‘S4Vectors’
The following object is masked from ‘package:base’:
expand.grid
Loading required package: IRanges
Attaching package: ‘IRanges’
The following object is masked from ‘package:grDevices’:
windows
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Loading required package: SummarizedExperiment
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with 'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: DelayedArray
Loading required package: matrixStats
Attaching package: ‘matrixStats’
The following objects are masked from ‘package:Biobase’:
anyMissing, rowMedians
Loading required package: BiocParallel
Attaching package: ‘DelayedArray’
The following objects are masked from ‘package:matrixStats’:
colMaxs, colMins, colRanges, rowMaxs, rowMins, rowRanges
The following objects are masked from ‘package:base’:
aperm, apply, rowsum
Error: package or namespace load failed for ‘DESeq2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘XML’
In addition: Warning messages:
1: package ‘S4Vectors’ was built under R version 3.6.3
2: package ‘IRanges’ was built under R version 3.6.2
3: package ‘GenomeInfoDb’ was built under R version 3.6.3
4: package ‘SummarizedExperiment’ was built under R version 3.6.2
5: package ‘DelayedArray’ was built under R version 3.6.3
6: package ‘matrixStats’ was built under R version 3.6.3
7: package ‘BiocParallel’ was built under R version 3.6.2
FYI, my R version is 3.6.1. Is that mean I need to reinstall all the package such as S4Vectors, stats4, BiocGenerics, parallel, IRanges, GenomicRanges, GenomeInfoDb etc??
Thanks in advance.
This post belongs on https://support.bioconductor.org/ and might be closed.