score_genes_cell_cycle
Analyze and assign cell cycle phases by scoring S and G2M phase genes in single-cell RNA data. Supports gene pool sampling, expression level binning, and custom score naming for detailed cell cycle analysis.
Instructions
Score cell cycle genes and assign cell cycle phases
Input Schema
Name | Required | Description | Default |
---|---|---|---|
g2m_genes | Yes | List of genes associated with G2M phase. | |
gene_pool | No | Genes for sampling the reference set. Default is all genes. | |
n_bins | No | Number of expression level bins for sampling. | |
random_state | No | The random seed for sampling. | |
s_genes | Yes | List of genes associated with S phase. | |
score_name | No | Name of the field to be added in .obs. If None, the scores are added as 'S_score' and 'G2M_score'. | |
use_raw | No | Whether to use raw attribute of adata. Defaults to True if .raw is present. |