getLabelledGrp: Internal phylofactor function - get labelled Group from...

View source: R/getLabelledGrp.R

getLabelledGrpR Documentation

Internal phylofactor function - get labelled Group from phylofactor

Description

Internal phylofactor function - get labelled Group from phylofactor

Usage

getLabelledGrp(factor = NULL, tree, Groups)

Arguments

factor

integer indicating the element of Groups to be labelled

tree

phylo object - global phylogeny used to indicate whether the elements of Groups[factor] are monophyletic

Groups

list of group/complement pairs corresponding to the split bin

Examples

library(ape)
set.seed(6)
tree <- rtree(10)
Groups <- getPhyloGroups(tree)
treeList <- list(tree)
binList <- list(1:10)
factor <- 16
grp <- getLabelledGrp(factor,tree,Groups)
grp

reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.