swnn.Builder¶
- class swnn.Builder(stage_order)¶
The wrapper object for conveniently building both the single-cell graph and the coarse-grained tree.
- Parameters
stage_order (Sequence) – the order of stages
See also
- __init__(stage_order)¶
Methods
__init__(stage_order)build_graph(X, stage_lbs[, binary_edge, ks, …])Build multipartite KNN-graph stage-by-stage.
build_tree(group_lbs[, stage_lbs, …])Adaptatively build the developmental tree from the stagewise-KNN graph.
Attributes
connectThe single-cell graph (connectivities)
connect_binThe single-cell graph (connectivities) with binary edges
distmatThe single-cell distance graph
edgedfthe voting tree in a node-parent-proportion format
group_lbsThe original group labels
refined_group_lbsThe refined group labels
stage_lbsThe original stage labels