dandelion.tools.extract_edge_weights

dandelion.tools.extract_edge_weights(vdj_data, expanded_only=False)[source]

Retrieve edge weights (BCR levenshtein distance) from graph.

Parameters:
  • vdj_data (Dandelion) – 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