cassiopeia/tools
directory contains a collection of utility functions and classes for analyzing phylogenetic trees and performing various calculations related to lineage tracing experiments. This toolset provides functionality for estimating parameters, computing evolutionary metrics, and performing statistical analyses on tree structures.
autocorrelation.py
: compute_morans_i
function for spatial autocorrelation analysis.branch_length_estimator/
: IIDExponentialMLE
and IIDExponentialBayesian
classes for branch length estimation.coupling.py
: compute_evolutionary_coupling
function for category relationship analysis.fitness_estimator/
: FitnessEstimator
abstract base class and LBIJungle
implementation.parameter_estimators.py
: Functions for estimating mutation rates and missing data rates.small_parsimony.py
: Functions for ancestral state reconstruction and parsimony scoring.topology.py
: Functions for computing expansion p-values and cophenetic correlation.tree_metrics.py
: Functions for calculating parsimony and likelihood scores on trees.cassiopeia.data
module for tree data structures and the cassiopeia.mixins
module for custom error classes.