ggtree中的getSubtree函数,没有这样的函数

问题描述 投票:0回答:1

我已经安装了ggtree包v1.8.2并且我想使用getSubtree函数。但是我得到一个令人惊讶的错误:):

getSubtree()出错:找不到函数“getSubtree”

即使我看到Rstudio帮助中的函数作为ggtree包的成员,并且在包描述中提到:qazxsw poi

通过::直接从包中导出也不起作用。我也尝试过更新,重新安装软件包。在ls(“package:ggtree”)中没有这样的东西。我是否误解了或者没有这样的功能?

sessionInfo()

https://bioconductor.org/packages/release/bioc/manuals/ggtree/man/ggtree.pdf
bioconductor ggtree
1个回答
1
投票

此功能不会导出,可能会在将来的版本中更改或删除。

如果您确实想要访问它,请尝试:

R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=Polish_Poland.1250  LC_CTYPE=Polish_Poland.1250   
[3] LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C                  
[5] LC_TIME=Polish_Poland.1250    

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

other attached packages:
[1] ggtree_1.8.2         treeio_1.0.2         ggplot2_2.2.1       
[4] BiocInstaller_1.26.1

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.12     lattice_0.20-35  ape_4.1          tidyr_0.7.1     
 [5] plyr_1.8.4       grid_3.4.1       jsonlite_1.5     nlme_3.1-131    
 [9] gtable_0.2.0     magrittr_1.5     scales_0.5.0     rlang_0.1.2     
[13] lazyeval_0.2.0   rvcheck_0.0.9    tools_3.4.1      glue_1.1.1      
[17] purrr_0.2.3      munsell_0.4.3    parallel_3.4.1   compiler_3.4.1  
[21] colorspace_1.3-2 tibble_1.3.4    
© www.soinside.com 2019 - 2024. All rights reserved.