View source: R/PermulationFuncs.R
simulatevec | R Documentation |
Generates a simulated continuous phenotype given an observed continuous phenotype and a phylogeny
simulatevec(namedvec, treewithbranchlengths)
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 |
A vector with simulated phenotype values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.