dandelion.tools.clone_degree¶
-
dandelion.tools.
clone_degree
(self, weight=None, verbose=True)[source]¶ Calculates node degree in BCR network.
- Parameters
self (Dandelion) – Dandelion object after tl.generate_network has been run.
weight (str, optional) – Atribute name for retrieving edge weight in graph. None defaults to ignoring this. See networkx.Graph.degree.
verbose (bool) – Whether or not to show logging information.
- Returns
- Return type
Dandelion object with metadata updated with node degree information.