SpaGTL.aucell#

SpaGTL.aucell(adata, auc_threshold=0.05, noweights=False, normalize=False, random_state=0, num_workers=1, copy=False)[source]#

Compute the regulon activity AUCell matrix [Aibar17].

Parameters:
adata : AnnData

Annotated data matrix.

auc_threshold : float (default: 0.05)

The fraction of the ranked genome to take into account for the calculation of the Area Under the recovery Curve.

noweights : bool (default: False)

Should the weights of the genes part of a signature be used in calculation of enrichment?

normalize : bool (default: False)

Normalize the AUC values to a maximum of 1.0 per regulon.

random_state : int (default: 0)

Change to use different initial states for the optimization.

num_workers : int (default: 1)

The number of cores to use.

copy : bool (default: False)

Return a copy instead of writing to adata.

Return type:

Optional[AnnData]

Returns:

: Depending on copy, returns or updates adata with the following fields.

.obsm[‘aucell’]DataFrame

The regulon activity AUCell matrix.