moscot.problems.time.LineageProblem.score_genes_for_marginals¶
- LineageProblem.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 inobswhere to store the proliferation scores.apoptosis_key (
str) – Key inobswhere to store the apoptosis scores.**kwargs (
Any) – The description is missing.
- Return type:
- Returns:
: Returns self and updates the following fields:
proliferation_key- key inobswhere proliferation scores are stored.apoptosis_key- key inobswhere apoptosis scores are stored.