moscot.problems.time.TemporalProblem.score_genes_for_marginals¶
- TemporalProblem.score_genes_for_marginals(gene_set_proliferation=None, gene_set_apoptosis=None, proliferation_key='proliferation', apoptosis_key='apoptosis', **kwargs)¶
Compute gene scores to obtain prior knowledge about proliferation and apoptosis.
The gene scores can be used in
estimate_marginals()
to estimate the initial growth rates as suggested in [Schiebinger et al., 2019]- Parameters:
gene_set_proliferation (
Union
[Literal
['human'
,'mouse'
],Sequence
[str
],None
]) – Set of proliferation marker genes. If astr
, it should correspond to the organism inproliferation_markers()
.gene_set_apoptosis (
Union
[Literal
['human'
,'mouse'
],Sequence
[str
],None
]) – Set of apoptosis marker genes. If astr
, it should correspond to the organism inapoptosis_markers()
.proliferation_key (
str
) – Key inobs
where to store the proliferation scores.apoptosis_key (
str
) – Key inobs
where to store the apoptosis scores.kwargs (
Any
) – Keyword arguments forscore_genes()
.
- Return type:
- Returns:
: Returns self and updates the following fields:
proliferation_key
- key inobs
where proliferation scores are stored.apoptosis_key
- key inobs
where apoptosis scores are stored.