# Set location like this if you don't have plot_phylo3_nodecoords
# hardcoded/sourced elsehwhere
# tmplocation = np(system.file("extdata/a_scripts", package="BioGeoBEARS"))
#
## Not run:
# extdata_dir = np(system.file("extdata", package="BioGeoBEARS"))
# trfn = np(paste(extdata_dir, "/Psychotria_5.2.newick", sep=""))
# tr = read.tree(trfn)
# tmplocation = np(system.file("extdata/a_scripts", package="BioGeoBEARS"))
# corner_coords(tr, coords_fun="plot_phylo3_nodecoords", tmplocation=tmplocation)
# ## End(Not run)
Run the code above in your browser using DataLab