gcell.cell.celltype.GETCellType.get_gene_idx

gcell.cell.celltype.GETCellType.get_gene_idx#

GETCellType.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