Get node ranges from BioGeoBEARS biome reconstruction model
get_node_range_BioGeoBEARS.RdThis is an auxiliary function that can be with a ancestral area reconstruction from BioGeoBEARS to obtain a data frame containing the ancestral area of occurrence (biome range) for all ancestors (nodes)
Examples
data(resDEC) # ancestral area reconstruction from biogeobears
data(akodon_newick)
extdata_dir = system.file("extdata", package="Herodotools")
fn = paste(extdata_dir, "/geo_area_akodon.data", sep="")
node_area <- get_node_range_BioGeoBEARS(resDEC,phyllip.file = fn, akodon_newick,
max.range.size = 4) # obtaining area for each node