Reconstruct ancestral embeddings under Ornstein-Uhlenbeck (pure-R reference)
Source:R/reference.R
reconstruct_ancestral_ou_r.RdComputes the fixed-root OU covariance among all nodes and then evaluates the conditional expectation of the internal nodes given the tip observations. If `z_anc` is `NULL` it is estimated by GLS using the provided (or default) OU parameters.
Usage
reconstruct_ancestral_ou_r(
tree,
z_obs,
sigma2 = NULL,
alpha = NULL,
z_anc = NULL,
obs_sigma = 0
)