Plotting Beast2 outputs with ggplot2
remotes::install_github("wilsonfrantine/ggbeast")
You can just run the lines bellow, changing the words between quotes by the file path for your EBSP results.
library("ggbeast")
p1 <- ggebsp("path_to_your_EBSP_run_log_file")
p1
As any other ggplot2 object, you can customize it wherever you want. To see how to change specificities as time scales, Ne scales and how to plot many ebsp runs, please take a look at this vignette
or open it in your R.
vignette("using_ggbeast")
Have fun!
If you get any crash, please get in touch: [email protected]
This package is highly based on the code writen by Joseph Heled and Tim Vaughan in Extended Bayesian Skyline Plot tutorial for BEAST 2 Joseph Heled (updated for BEAST 2 by Tim Vaughan)