dandelion.tools.extract_edge_weights¶
-
dandelion.tools.
extract_edge_weights
(self, expanded_only=False)[source]¶ Retrieves edge weights (BCR levenshtein distance) from graph.
- Parameters
self (Dandelion) – Dandelion object after tl.generate_network has been run.
expanded_only (bool) – whether to retrieve the edge weights from the expanded only graph or entire graph.
- Returns
- Return type
numpy array containing edge weights.