我已经安装了 ggtree 包 v1.8.2 并且我想使用 getSubtree 函数。但是我得到一个令人惊讶的错误:):
getSubtree() 中的错误:找不到函数“getSubtree”
即使我将 Rstudio Help 中的功能视为 ggtree 包的成员,并且正如包描述中提到的那样:https ://bioconductor.org/packages/release/bioc/manuals/ggtree/man/ggtree.pdf
通过 :: 从包中直接导出也不起作用。我也尝试过更新,重新安装软件包。ls("package:ggtree") 中没有这样的。我误解了某事还是没有这样的功能?
会话信息()
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