Build node table for continuous phylogeography
build_nodes(
treedata,
lon = "location1",
lat = "location2",
height = "height_median",
digits = 2,
most_recent_sample = NULL,
debug = getOption("ggphylogeo.debug", FALSE)
)treedata object with phylogeographic annotations
name of longitude column prefix (default: "location1")
name of latitude column prefix (default: "location2")
column name used for node ages (default: "height_median")
numeric digits for rounding coordinates (default: 2)
Date or numeric year (e.g. 2019) used to calibrate ages to actual dates. If NULL (default) no calibration is performed.
logical debug messages
A data.frame with columns: node, lon, lat, age, istip, label