nLTTstat: Calculate the difference between two normalized
Lineage-Through-Time curves, given two phylogenetic trees.
Description
This function takes two ultrametric phylogenetic trees,
calculates the normalized Lineage-Through-Time statistic for both trees
and then calculates the difference between the two statistics.
Chosen measurement of distance between
the two nLTT curves, options are (case sensitive):
- "abs": use the absolute distance
- "squ": use the squared distance;
ignore_stem
a boolean whether to ignore the stem length
log_transform
a boolean wether to log-transform the number of
lineages before normalization