rapids_singlecell.gr.NhoodEnrichmentResult#

class rapids_singlecell.gr.NhoodEnrichmentResult(zscore, counts)[source]#

Result of nhood_enrichment().

Attributes table#

counts

Edge counts between cluster pairs, with shape (n_clusters, n_clusters).

zscore

Enrichment z-scores, with shape (n_clusters, n_clusters).

Methods table#

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes#

counts: ndarray#

Edge counts between cluster pairs, with shape (n_clusters, n_clusters).

zscore: ndarray#

Enrichment z-scores, with shape (n_clusters, n_clusters).

Methods#

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.