rescale: Rescale branches of a 'phylo' or 'multiPhylo' object to a...

View source: R/misc.R

rescaleR Documentation

Rescale branches of a phylo or multiPhylo object to a given height

Description

Rescale a phylo or multiPhylo object to a given height.

Usage

rescale(tree, height=NULL, parallel=FALSE)

Arguments

tree

One or more trees, result of a sfreemap execution;

height

The desired height to scale branches to.

parallel

Whether computation should run in parallel. Only useful for multiPhylo

Value

A phylogenetic tree of class phylo or multiPhylo with its branches rescaled.

Author(s)

Diego Pasqualin dpasqualin@inf.ufpr.br

See Also

sfreemap


dpasqualin/sfreemap documentation built on July 5, 2023, 10:52 a.m.