View source: R/PermulationFuncs.R
simBinPheno | R Documentation |
Generates a permulated phylogenetic tree with specified number of foreground branches. User may specify the number of foreground branches that are internal branches.
simBinPheno(trees, root, phenvec, fgnum = NULL, internal = 0, drop = NULL)
trees |
treesObj output from |
root |
Species on which to root the master tree |
phenvec |
Named vector of 1's and 0's representing phenotype values for each species |
fgnum |
Total number of foreground species - only required if internal foreground branches are required |
internal |
Number of foreground species that should be internal branches - only required if internal foreground branches are required |
drop |
Character vector (or single character variable) of species names to be removed from the master tree (such as species in trees but not in phenotype vector) |
A tree with permulated phenotype values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.