Closed colganwi closed 1 year ago
Patch coverage: 100.00%
and project coverage change: +0.02%
:tada:
Comparison is base (
43e6b2e
) 78.80% compared to head (1ade18d
) 78.82%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think a separate function that organizes the entire tree with respect to a meta data item would make the most sense. But I'm not sure we want to include this in Cassiopeia since it requires significant customization. What's the order of the items? How to handle missing data? How to order children with impure subtrees? How to organize with respect to multiple metadata columns? Probably better to let each user write their own function that calls reorder_children
.
All good points. I'll make an issue for providing an example in the existing plotting tutorial (just an enhancement). If it's alright, I'll assign it to you for when you have time to provide this example.
Thanks for discussion, and I'll go ahead and merge this in.
Added
reorder_children
method toCassiopeiaTree
. This is useful for reordering clades prior to plotting a tree.