Emulation: cell_graph

class cytomulate.emulation.cell_graph.EmulationCellGraph[source]

Bases: GeneralCellGraph

initialize_graph(cell_types, bead_label=None)[source]

Build a complete graph among all cell types

Parameters:
  • cell_types (dict) – A dictionary of CellType objects

  • bead_label (str or int) – The label for beads

Return type:

None

prune_graph(graph_topology='tree')[source]

Construct a tree or a forest from the complete graph

Parameters:

graph_topology (str) – The type of the graph desired. Should be either tree or forest

Return type:

None