Main
Installation
API
Preprocessing:
Methods:
Running multiple methods:
General utils:
AnnData utils:
Omnipath wrappers:
Plotting
Metrics
Benchmark utils
Benchmark
decoupler.benchmark
decoupler.format_benchmark_inputs
format_benchmark_inputs()
decoupler.get_performances
Other
Release notes
Reference
Vignettes
Usage
Cell type annotation from marker genes
Pathway activity inference
Transcription factor activity inference
Functional enrichment of biological terms
Pseudo-bulk functional analysis
Spatial functional analysis
Bulk functional analysis
Benchmarking pipeline
Conversion to other organisms
Licenses in OmniPath databases
decoupler
API
decoupler.format_benchmark_inputs
Edit on GitHub
decoupler.format_benchmark_inputs
decoupler.
format_benchmark_inputs
(
mat
,
obs
,
perturb
,
sign
,
net
,
groupby
,
by
,
f_expr
=
True
,
f_srcs
=
False
,
source
=
'source'
,
target
=
'target'
,
weight
=
'weight'
,
min_n
=
5
,
verbose
=
False
,
use_raw
=
True
,
decouple_kws
=
{}
)