2017-09-28 56 views
0

我已经安装了ggtree包v1.8.2,并且我想使用getSubtree函数。不过,我得到一个错误suprising :):ggtree中的getSubtree函数,没有这样的函数

错误getSubtree():找不到功能“getSubtree”

即使我看到Rstudio帮助机能的研究作为ggtree包的成员和正如它在软件包描述中提到的:https://bioconductor.org/packages/release/bioc/manuals/ggtree/man/ggtree.pdf

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

sessionInfo()

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  

回答

1

该功能不导出,并且可以改变或在将来的版本中删除。

如果你真的婉访问,请尝试:

gtree ::: getSubtree

相关问题