首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装软件包- Gviz、rtracklayer和trackViewer,在R中

安装软件包- Gviz、rtracklayer和trackViewer,在R中
EN

Stack Overflow用户
提问于 2022-08-17 11:57:07
回答 1查看 85关注 0票数 0

我试图在R中安装trackViewer软件包,遵循生物导体网站https://www.bioconductor.org/packages/devel/bioc/vignettes/trackViewer/inst/doc/trackViewer.html上的说明。https://bioconductor.org/packages/release/bioc/html/trackViewer.html

每次我运行代码

代码语言:javascript
复制
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("trackViewer")

if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("Gviz")

我知道这个错误

代码语言:javascript
复制
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories:
    CRAN: https://cran.rstudio.com/

Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23)
Warning message:
package(s) not installed when version(s) same as current; use `force = TRUE` to re-install: 'Gviz' 

我不知道该怎么绕过这件事。我最终希望创造一个棒棒糖的情节,以展示一个基因的突变与注释感兴趣。

如果能帮忙,我会很感激的。

会议信息:

代码语言:javascript
复制
R version 4.2.1 (2022-06-23)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.0.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] grid      stats4    stats     graphics  grDevices utils     datasets  methods  
[9] base     

other attached packages:
[1] Rcpp_1.0.9           GenomicRanges_1.48.0 GenomeInfoDb_1.32.3  IRanges_2.30.0      
[5] S4Vectors_0.34.0     BiocGenerics_0.42.0  BiocManager_1.30.18 

loaded via a namespace (and not attached):
 [1] MatrixGenerics_1.8.1        Biobase_2.56.0              httr_1.4.3                 
 [4] bit64_4.0.5                 assertthat_0.2.1            BiocFileCache_2.4.0        
 [7] blob_1.2.3                  BSgenome_1.64.0             GenomeInfoDbData_1.2.8     
[10] Rsamtools_2.12.0            yaml_2.3.5                  progress_1.2.2             
[13] pillar_1.8.0                RSQLite_2.2.16              lattice_0.20-45            
[16] glue_1.6.2                  digest_0.6.29               RColorBrewer_1.1-3         
[19] XVector_0.36.0              colorspace_2.0-3            htmltools_0.5.3            
[22] Matrix_1.4-1                XML_3.99-0.10               pkgconfig_2.0.3            
[25] biomaRt_2.52.0              zlibbioc_1.42.0             purrr_0.3.4                
[28] scales_1.2.0                BiocParallel_1.30.3         tibble_3.1.8               
[31] KEGGREST_1.36.3             generics_0.1.3              ellipsis_0.3.2             
[34] cachem_1.0.6                SummarizedExperiment_1.26.1 GenomicFeatures_1.48.3     
[37] cli_3.3.0                   magrittr_2.0.3              crayon_1.5.1               
[40] memoise_2.0.1               fansi_1.0.3                 xml2_1.3.3                 
[43] tools_4.2.1                 prettyunits_1.1.1           hms_1.1.1                  
[46] BiocIO_1.6.0                lifecycle_1.0.1             matrixStats_0.62.0         
[49] stringr_1.4.0               munsell_0.5.0               DelayedArray_0.22.0        
[52] AnnotationDbi_1.58.0        Biostrings_2.64.0           compiler_4.2.1             
[55] rlang_1.0.4                 RCurl_1.98-1.8              rstudioapi_0.13            
[58] rjson_0.2.21                rappdirs_0.3.3              htmlwidgets_1.5.4          
[61] bitops_1.0-7                restfulr_0.0.15             codetools_0.2-18           
[64] DBI_1.1.3                   curl_4.3.2                  R6_2.5.1                   
[67] GenomicAlignments_1.32.1    dplyr_1.0.9                 rtracklayer_1.56.1         
[70] fastmap_1.1.0               bit_4.0.4                   utf8_1.2.2                 
[73] filelock_1.0.2              stringi_1.7.8               parallel_4.2.1             
[76] vctrs_0.4.1                 png_0.1-7                   dbplyr_2.2.1               
[79] tidyselect_1.1.2           
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-09-02 06:02:24

这里的警告消息表明,该软件包的最新版本已经安装,如果您想重新安装该包,请使用force=TRUE,如下所示:

BiocManager::install("Gviz", force = TRUE)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73388086

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档