Brad Jones

Results 48 comments of Brad Jones

You set `limits=c(min,10)` in `scale_x_continuous` that sets the upper limit to 10. I think you meant to set `limits=c(min,0)` that sets the upper limit to 0.

You can work from `fortify` to filter by the desired clade. ```R subtree % dplyr::filter(group == 1) p

I think your issue is with the assumption that there is a standard for node numbering in the Newick format, which there is not. It is any software's choice on...

I have implemented the `reroot` method for the `treedata` class in ggtree #211 which may address this issue.

I agree @GuangchuangYu . I'm trying to merge, but I am have trouble buiding the latest version of ggtree. EDIT: in particular I get the error message: ``` * installing...

Okay I pushed my merge with 9416b852753df . I was able to build it, but I haven't tested it yet.

Okay I got it working. The following displays correctly: ```R library(ape) library(ggtree) # Here I create two trees. In one tree, taxon 'C' is the outlier. In the other tree,...

You can use the tree layer function `geom_tree` to add tree layers to ggplot objects.

You need to remove the `tip=` part. Try replacing the line beginning with `viewClade` with: `viewClade(p, MRCA(p, "I", "L"))`