cladeIdentity: Identify branches (including tips) descended from a node...

Description Usage Arguments Details Value Author(s)

View source: R/cladeIdentity.R

Description

Internal function to get presence absence of descendent branches from a vector of node numbers. The descendents include the branch leading to the focal node (i.e. node defines the stem group no crown group)

Usage

1
cladeIdentity(phy, nodeIDs, cladeMembersObj)

Arguments

phy

An object of class "phylo" (see ape package).

nodeIDs

Vector of node numbers (positive integers).

cladeMembersObj

Matrix of clade membership

Details

The function returns a matrix of unique presences given the selected node. If the selected nodes are nested then presences are only recorded for the least inclusive node.

Value

matrix

Matrix of unique presences for each node id

Author(s)

Gavin Thomas


ghthomas/motmot documentation built on July 31, 2018, 12:11 a.m.