G Run ggtree in Jupyter notebook

If you have Jupyter notebook installed on your system, you can install IRkernel with the following command in R:

install.packages("IRkernel")
IRkernel::installspec()

Then you can use ggtree and other R packages in Jupyter notebook. Here is a screenshot of recreating Figure 8.6 in Jupyter notebook.

ggtree in Jupyter notebook. Running ggtree in Jupyter notebook via R kernel.

Figure G.1: ggtree in Jupyter notebook. Running ggtree in Jupyter notebook via R kernel.