API
Import decoupler as:
import decoupler as dc
Preprocessing:
|
Processes different input types so that they can be used downstream. |
|
Removes sources of a net with less than min_n targets. |
|
Matches mat with a regulatory adjacency matrix. |
|
Renames input network to match decoupleR's format (source, target, weight). |
|
Transforms a given network to a regulatory adjacency matrix (targets x sources). |
Methods:
|
AUCell. |
|
Gene Set Enrichment Analysis (GSEA). |
|
Gene Set Variation Analysis (GSVA). |
|
Multivariate Linear Model (MLM). |
|
Over Representation Analysis (ORA). |
|
Univariate Linear Model (ULM). |
|
Virtual Inference of Protein-activity by Enriched Regulon (VIPER). |
|
Weighted sum (WMEAN). |
|
Weighted sum (WSUM). |
|
Consensus. |
Running multiple methods:
|
Decouple function. |
Utils:
Shows available methods. |
|
|
Checks the correlation across the regulators in a network. |
|
Function to generate a long format dataframe similar to the one obtained in the R implementation of decoupleR. |
|
Extracts activities as AnnData object. |
|
Generate a toy mat and net for testing. |
|
Summarizes activities obtained per group by their mean or median. |
|
Assigns group labels based on summary activities. |
|
Generates an unormalized pseudo-bulk profile per sample and group. |
|
Computes simple contrast between two conditions from pseudo-bulk profiles. |
Omnipath wrappers:
Shows available resources in Omnipath. |
|
|
Wrapper to access resources inside Omnipath. |
|
Pathway RespOnsive GENes for activity inference (PROGENy). |
|
DoRothEA gene regulatory network. |
Plotting
|
Plot logFC and p-values of a selected source by a specific contrast. |