stereo.algorithm.score_genes_cell_cycle.ScoreGenesCellCycle.main¶
- ScoreGenesCellCycle.main(s_genes, g2m_genes, **kwargs)[source]¶
Score cell cycle genes.
Given two lists of genes associated to S phase and G2M phase, calculates scores and assigns a cell cycle phase (G1, S or G2M). See st.tl.score_genes for further information.
- Parameters:
s_genes (
Union[ndarray,List[str],Tuple[str]]) – List of genes associated with S phase.g2m_genes (
Union[ndarray,List[str],Tuple[str]]) – List of genes associated with G2M phase.
- Kwargs:
Other parameters to be passed to
st.tl.score_genesexceptctrl_sizeandres_key, thectrl_sizeis set as the minimum oflen(s_genes)andlen(g2m_genes).