Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed ggtree code #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

GuangchuangYu
Copy link

time_scale parameter was removed since there are many time format and their positions in tip labels are diverse. We change the parameter to mrsd stand for most recent sampling date. The date will be parsed as numerical number by default. We can set as.Date=TRUE and the date will be parsed as Date.

geom_point(subset=.(isTip),aes(shape=host,color=host),size=4)+ # tip symbols 

was change to:

geom_tippoint(aes(shape=host, color=host), size=4) + # tip symbols

We provide geom_tippoint that already do the subsetting. I think it's not a good idea to expose subset=.(isTip) to new user since this feature will be removed in next release of ggplot2 (see http://ygc.name/2015/09/24/subsetting-data-in-ggtree/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant