gcell.cell.celltype.GETHydraCellType.plot_gene_motifs

gcell.cell.celltype.GETHydraCellType.plot_gene_motifs#

GETHydraCellType.plot_gene_motifs(gene, motif=None, overwrite=False, n=10)[source]#

Plot top N motifs for a gene. Based on the absolute mean of the motif scores.

Parameters:
gene

Gene name

motif default: None

Motif instance. Not used, self.motif is used instead.

overwrite bool (default: False)

Whether to overwrite existing plots, by default False

n int (default: 10)

Number of motifs to plot, by default 10