sfreemap: sfreemap

View source: R/sfreemap.R

sfreemapR Documentation

sfreemap

Description

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).

Usage

sfreemap(tree, pa, type = "standard", model = "ER", quiet = FALSE)

Arguments

tree
pa
type
model
method
tol

Details

Simulation free stochastic character mapping on a phylogenetic tree.

Value

result

Examples

## 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)


gtonkinhill/panstripe documentation built on Feb. 27, 2025, 9:01 p.m.