makeBinaryPaths: Makes a binary path vector from either a tree of class...

View source: R/RERfuncs.R

makeBinaryPathsR Documentation

Makes a binary path vector from either a tree of class "phylo" or a foreground species set supplied as a character vector

Description

Makes a binary path vector from either a tree of class "phylo" or a foreground species set supplied as a character vector

Usage

makeBinaryPaths(input, treesObj)

Arguments

input

Either a phenotype tree of class "phylo" (with branch length encoding a phenotype) or a character vector of foreground branches

treesObj

A treesObj created by readTrees

Value

A vector of length equal to the number of paths in treesObj


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