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_genes except ctrl_size and res_key, the ctrl_size is set as the minimum of len(s_genes) and len(g2m_genes).