gcell.cell.celltype.Celltype.get_gene_idx

gcell.cell.celltype.Celltype.get_gene_idx#

Celltype.get_gene_idx(gene_name)[source]#

Get the index of a gene in the gene list.

Parameters:
gene_name str

Name of the gene

Returns:

numpy.ndarray Array of indices where the gene appears