dandelion.base.tools.extract_edge_weights
- dandelion.base.tools.extract_edge_weights(vdj, expanded_only=False)[source]
Retrieve edge weights from graph.
- Parameters:
vdj (Dandelion | DandelionPolars) – Dandelion object after tl.generate_network has been run.
expanded_only (bool, optional) – whether to retrieve the edge weights from the expanded only graph or entire graph.
- Returns:
list of edge weights.
- Return type:
list