sfreemap | R Documentation |
This function has been adapted and simplified from the code in the sfreemap R package (https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-017-1554-7).
sfreemap(tree, pa, type = "standard", model = "ER", quiet = FALSE)
tree |
|
pa |
|
type |
|
model |
|
method |
|
tol |
Simulation free stochastic character mapping on a phylogenetic tree.
result
## Not run:
tree <- ape::rtree(10)
pa <- matrix(rbinom(10, 1, 0.5), ncol=1)
rownames(pa) <- tree$tip.label
sfreemap(tree, pa)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.