| ELPruning | R Documentation |
Pruning shallow stable states of energy landscape.
Iteratively prunes stable states (merges basins).
If type="relative", stable state whose energy depth is smaller than th times the deepest
basin depth are pruned and merged to the deeper basins.
If type="bootstrap", stable state whose bootstrap confidence interval (default: 95
cross zero is pruned.
The function updates stable states and corresponding tipping
structures, and returns both the pruned ELA object and a mapping table
from stable states before pruning to those after pruning.
ELPruning(
ela,
type = "relative",
th = 0.05,
lower_qr = 0.05,
bootstrap_ene = NULL,
threads = 1,
reporting = TRUE,
fork = TRUE
)
ela |
output of ELA function. |
type |
the type of pruning |
th |
ratio of the depth of the basin to be pruned with respect to the deepest basin. |
lower_qr |
Numeric value. Quantile used for constructing confidence intervals from bootstrap samples to check
whether the estimated energy gaps include zero. Default is |
bootstrap_ene |
a data frame of bootstrap energies generated by bootstrap_ELA. Necessary when |
threads |
number of cores (threads) used for calculation. |
reporting |
enable/disable the reporting function. |
fork |
logical; if TRUE and |
A list of two elements: (1) pruned ELA tuple (same format as ELA output),
and (2) a data frame with columns ss.before.pruning and ss.after.pruning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.