Shuangbin Xu

Results 55 comments of Shuangbin Xu

I guess you want this. ``` library(ggtree) library(ggtreeExtra) library(ggplot2) set.seed(1024) tree

This feature might need to update the base element, which is different from the element of `phytools`. We will try our best to complete it.

Yes, You can reporduce the figure using [`ggtreeExtra`](https://github.com/YuLab-SMU/ggtreeExtra)

The version of ggstar in README is development. You can update the vesion of [`ggstar`](https://github.com/xiangpin/ggstar/) from `github`, or you can use `scale_starshape_manual` to set `1~12` values.

I think your ggplot2 version is the development version (installed from github.). please refer to the same [issue](https://github.com/YuLab-SMU/ggtree/issues/511). You can use `install.package('ggplot2')` to install the released version (ggplot2

Now, the gradient highlight only can work on the Linux Platform. Or using `svg` on Windows. You can refer to the [answer](https://github.com/YuLab-SMU/ggtree/issues/467)

I think you can use `ggtreeExtra` to plot it. The input is from the #367 ``` tr % tidyr::pivot_longer(cols=!id, names_to='type', values_to='number') -> dat dat tree

I have implemented the primary feature ``` > library(MicrobiotaProcess) Attaching package: ‘MicrobiotaProcess’ The following object is masked from ‘package:stats’: filter > library(ggtree) ggtree v3.3.0.901 For help: https://yulab-smu.top/treedata-book/ If you use...

[3ee8a38](https://github.com/xiangpin/ggtree/commit/a28c2cef55b71001faf0bf08e3945c7f27728bc0)

Which version of `ggtree` are you using? The aesthetic mapping of `geom_hilight` is supported by ggtree >= 2.4.0 The following is the development version (github). ``` > packageVersion("ggtree") [1] ‘3.3.1’...