get_consensus_tree_OUfixedRoot: Get OU transformed tree

View source: R/phylogeneticCorrelations.R

get_consensus_tree_OUfixedRootR Documentation

Get OU transformed tree

Description

Compute the transformed tree using transf.branch.lengths.

Usage

get_consensus_tree_OUfixedRoot(
  phy,
  all_phyfit,
  measurement_error,
  trim,
  median = FALSE,
  alpha_bounds
)

Arguments

phy

an object of class phylo. It must be either a tree with tips having the same names as the columns of object (including replicates), or a tree such that tip labels match with species names in 'col_species'.

measurement_error

a logical value indicating whether there is measurement error. Default to TRUE. See phylolm for more details.

median

if TRUE, the pracma::geo_median function is used to take the geometric median.

Value

The transformed tree.


pbastide/phylolimma documentation built on Nov. 17, 2024, 1:34 p.m.