simBinPhenoCC: Produces one CC binary permulation for a gene

View source: R/PermulationFuncs.R

simBinPhenoCCR Documentation

Produces one CC binary permulation for a gene

Description

Produces one CC binary permulation for a gene

Usage

simBinPhenoCC(
  trees,
  mastertree,
  root_sp,
  fg_vec,
  sisters_list = NULL,
  pathvec,
  plotTreeBool = F
)

Arguments

trees

treesObj from readTrees

mastertree

A rooted, fully dichotomous tree derived from the treesObj master tree from readTrees.

root_sp

The species to root the tree on

fg_vec

a vector containing the foreground species

sisters_list

A list containing pairs of "sister species" in the foreground set (put NULL if empty)

pathvec

A path vector generated from the real set of foreground animals

plotTreeBool

Boolean indicator for plotting the output tree (default=FALSE)

Value

A CC binary permulated tree


nclark-lab/RERconverge documentation built on March 2, 2024, 8:51 a.m.