View source: R/RasperGade_reconstruction.R
fullMarginalReconstructionWithPE | R Documentation |
Reconstruct all marginal ancestral states, including those require rerooting, in a phylogeny
fullMarginalReconstructionWithPE( phy, x, params, laplace = FALSE, approximate = 1, margin = 1e-06, numCores = 1, asymptotic = 5 )
phy |
phylo-class object from |
x |
named vector of tip trait values; names should match the tip labels; NA should not be included |
params |
a vector of pulsed evolution parameters |
laplace |
logical, when true, time-independent variation follows Laplace distribution |
approximate |
number of normal distributions to approximate the uncertainty distribution for internal nodes |
margin |
total probability mass of the number of jump not taken into account per compound Poisson process |
numCores |
number of cores to use |
asymptotic |
threshold of expected number of jumps beyond which the trait change is assumed to be normal |
Parameter vector should be in the format of lambda,size,...,sigma,epsilon
Currently laplace
should always set to be FALSE
.
returns a list that contains all the information to calculate the global ancestral states and hidden states
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.