Extracts an island clade based on the ancestral state reconstruction of the species presence on the island, therefore this clade can contain non-endemic species as well as endemic species.
extract_asr_clade(phylod, species_label, clade, include_not_present)An object of Island_colonist class
A phylo4d object from the package phylobase containing
phylogenetic and endemicity data for each species.
The tip label of the species of interest.
A numeric vector which the indices of the species which are in the island clade.
A boolean determining whether species not present on the island should be included in island colonist when embedded within an island clade. Default is FALSE.