grassp.tl.competitive_propagation

grassp.tl.competitive_propagation#

competitive_propagation(*args, **kwargs)[source]#

Deprecated alias for competitive_diffusion().

Deprecated since version 0.5.0: Use competitive_diffusion(). This alias will be removed in 0.7.0.

Renamed so the two graph annotation families differ in exactly one word — the label semantics — rather than in the name of the graph operator, which they share: competitive diffusion (mutually-exclusive labels, simplex output) vs independent diffusion (overlapping / ontology labels, per-term output). “propagation” was also the name of one of the two method choices, so competitive_propagation(method="spreading") read as a contradiction.

key_added keeps its old default ("competitive_propagation") when called through this alias, so existing code that relied on the default output column name is unaffected.