Adds a method local_branching() to CollapsedTree object that populates LBI and LBR node features. This makes rendering trees colored by LBI /LBR straightforward.
Updates CollapsedTree.simulate() to take an arbitrary sequence>fitness mapping, and retains fitness values as node features in the simulated cell lineage tree.
Adds a method feature_colormap to CollapsedTree object to get a colormap based on any numerical node feature (e.g. LBI or affinity)
API additions
local_branching()
toCollapsedTree
object that populates LBI and LBR node features. This makes rendering trees colored by LBI /LBR straightforward.CollapsedTree.simulate()
to take an arbitrary sequence>fitness mapping, and retains fitness values as node features in the simulated cell lineage tree.feature_colormap
toCollapsedTree
object to get a colormap based on any numerical node feature (e.g. LBI or affinity)