subTrees: Identifies a list of sub-trees in argument tree initiating...

View source: R/phylogenies.R

subTreesR Documentation

Identifies a list of sub-trees in argument tree initiating from the the argument nodes and maps those sub-trees on their contained tips.

Description

Identifies a list of sub-trees in argument tree initiating from the the argument nodes and maps those sub-trees on their contained tips.

Usage

subTrees(tree, nds = unique(tree$edge[, 1]))

Arguments

tree

an instance of class ape::phylo

nds

the inner nodes for which to identify the sub-trees

Value

A named list. Names are the argument tips and values the node label of the root node of the sub-tree.


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.