segmentation.OU.specialCase.same_shifts {PhylogeneticEM} | R Documentation |
Segmentation in the OU special case, conserving the same shifts position.
Description
segmentation.OU.specialCase.same_shifts
keeps the same shifts position,
and optimize the sum of costs using function
best_scenario
Usage
segmentation.OU.specialCase.same_shifts(phylo, shifts_old, D, Xp, ...)
Arguments
phylo |
a phylogenetic tree |
shifts_old |
the previous list of shifts (only position is used) |
Details
This is the best move if keeping the previous shifts positions.
Value
List containing : beta_0 : the optimal value at the root shifts : list containing the computed tau and delta costs : vector of costs
[Package PhylogeneticEM version 1.8.0 Index]