CalculateElasticTreeConstrained: Calculate elastic tree with iterative constraints

Description Usage Arguments Value

View source: R/ElasticPrincipalTree.R

Description

Calculates an elastic tree using a scaffold tree to initialize it. A set of N_yk nodes are included one by one into a tree structure that minimizes an error and an energetic functions to the cell coordinates. The initialization with the scaffold tree ensures that the correct number of endpoints and branchpoints and their connectivity are preserved in the elastic tree interpolation.

Usage

1
2
3
CalculateElasticTreeConstrained(ScaffoldTree, N_yk = 150,
  start_N_yk = 100, step_N_yk = 50, lambda_0 = 8e-10,
  mu_0 = 0.0025, FixEndpoints = F, plot = F)

Arguments

ScaffoldTree

scaffoldTree calculated by the CalculateScaffoldTree function

N_yk

number of nodes for the elastic principal tree

start_N_yk

initial number of nodes with which the elastic tree will be calculated on top of which additional constraints will be added

step_N_yk

number of nodes that will be interatively added to the elastic tree until the N_yk nodes are added. After each iteration the nodes will be added as additional constraints to the next iteration.

lambda_0

principal elastic tree energy function parameter.

mu_0

principal elastic tree energy function parameter

FixEndpoints

Whether or not the end points coordinates are fixed

plot

Whether or not plots are produced

Value

ElasticTree


soedinglab/merlot documentation built on June 28, 2020, 9:36 a.m.