use of dr.app.beauti.components.hpm.HierarchicalPhylogeneticModel in project beast-mcmc by beast-dev.
the class HierarchicalPriorDialog method addHPM.
public void addHPM(java.util.List<Parameter> parameterList) {
HierarchicalModelComponentOptions comp = (HierarchicalModelComponentOptions) options.getComponentOptions(HierarchicalModelComponentOptions.class);
HierarchicalPhylogeneticModel hpm = comp.addHPM(nameField.getText(), parameterList, parameterList.get(0).priorType);
hpm.getConditionalParameterList().get(0).mean = hpmMeanMean;
hpm.getConditionalParameterList().get(0).stdev = hpmMeanStDev;
hpm.getConditionalParameterList().get(0).setInitial(hpmMeanInitial);
hpm.getConditionalParameterList().get(1).shape = hpmPrecShape;
hpm.getConditionalParameterList().get(1).scale = hpmPrecScale;
hpm.getConditionalParameterList().get(1).setInitial(hpmPrecInitial);
}
Aggregations