assemble_supertree | R Documentation |
Combining glottolog family trees into one large tree. Families can be assembled directly below a rake structure at the root, or can be grouped, so that the root first branches into groups, and the families then branch out below the group nodes.
assemble_supertree(macro_groups, glottolog_version)
macro_groups |
A list of character vectors, in which each vector
contains the names of one or more macroareas which define a group.
Alternatively, setting |
glottolog_version |
A character string, specifying which glottolog
version to use. Currently available options are |
Grouping is controlled by the macro_groups
parameter. Groups can
comprise a single glottolog macroarea, or multiple macroareas. Current
macroareas are Africa
, Australia
, Eurasia
, North
America
, Papunesia
and South America
. Setting
macro_groups
to NULL
causes the tree to be assembled without
groups.
# Supertree whose first order branches are the glottolog macroareas
supertree <- assemble_supertree()
supertree_v.4.3 <- assemble_supertree(glottolog_version = "4.3")
# Supertree whose first order branches are glottolog families
supertree <- assemble_supertree(macro_groups = NULL)
# Supertree whose first order branches are the African & Eurasian macroareas
supertree <- assemble_supertree(macro_groups = list("Africa", "Eurasia"))
# Supertree whose first order branches are the glottolog macroareas, but
# with the Americas combined:
supertree <- assemble_supertree(
macro_groups = list("Africa", "Australia", "Eurasia", "Papunesia",
c("South America", "North America"))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.