go_back_to_original_process: Scale the parameters back to the original process

go_back_to_original_processR Documentation

Scale the parameters back to the original process

Description

go_back_to_original_process takes the inferred parameters with a BM on a rescaled tree, and gives back the equivalent parameters of the OU on the original process.

Usage

go_back_to_original_process(
  phy_original,
  known.selection.strength,
  sBM_variance,
  params
)

Arguments

phy_original:

the original phylogenetic tree

known.selection.strength:

the known selection strength of the original OU.

sBM_variance:

boolean. Is the root random ?

params:

the inferred parameters of the BM on the re-scaled tree.

Value

params_scOU the equivalent parameters of the OU on the original tree.


PhylogeneticEM documentation built on Aug. 31, 2022, 9:16 a.m.