sis_get_sisters: Get sister groups for all internal nodes

View source: R/processdata.R

sis_get_sistersR Documentation

Get sister groups for all internal nodes

Description

For each node, return the vector of tip numbers for taxa on each side. It is sorted so that sister groups with fewer taxa are arranged at the top.

Usage

sis_get_sisters(phy, ncores = 2)

Arguments

phy

A phylo object

ncores

How many cores to use to run this in parallel. I suggest parallel::detectCores(), but set it at 2 for a default (otherwise CRAN checks fail)

Value

a data.frame with the node numbers and columns with the tip labels of the two descendant clades, plus additional info on the sister groups


bomeara/sisters documentation built on Oct. 11, 2023, 12:14 a.m.