Learn R Programming

PhylogeneticEM (version 1.0.1)

go_back_to_original_process: Scale the parameters back to the original process

Description

go_back_to_original_process takes the infered 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 infered parameters of the BM on the re-scaled tree.

Value

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