simpermvec: Generates a permulated continuous phenotype given an observed...

View source: R/PermulationFuncs.R

simpermvecR Documentation

Generates a permulated continuous phenotype given an observed continuous phenotype and a phylogeny

Description

Generates a permulated continuous phenotype given an observed continuous phenotype and a phylogeny

Usage

simpermvec(namedvec, treewithbranchlengths)

Arguments

namedvec

A named numeric vector with phenotype values for each speices

treewithbranchlengths

A rooted phylogenetic tree with the same species as namedvec and branch lengths representing average evolutionary rate. The master tree from readTrees may be rooted and used for this parameter.

Value

A vector with permulated phenotype values


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