add_replicates: Add replicates to a tree

View source: R/simulatePhyloPoissonLogNormal.R

add_replicatesR Documentation

Add replicates to a tree

Description

Utility function to add replicates to a tree, as tips with zero length branches.

Usage

add_replicates(tree, r)

Arguments

tree

A phylogenetic tree with n tips.

r

the number of replicates too add at each species.

Value

A phylogenetic tree with n * r tips, and clusters of tips with zero branch lengths.


csoneson/compcodeR documentation built on Nov. 3, 2024, 6:05 a.m.