stereo.plots.PlotCollection.marker_genes_text#
- PlotCollection.marker_genes_text(res_key, groups='all', markers_num=20, sort_key='scores', ascend=False, fontsize=8, ncols=4, sharey=True, width=None, height=None, **kwargs)[source]#
Scatter plot of maker genes.
- Parameters:
res_key (
str
) – the result key of marker genes.groups (
Union
[str
,Sequence
[str
]]) – the group names.markers_num (
Optional
[int
]) – top N genes to show in each cluster.sort_key (
Optional
[str
]) – the sort key for getting top N marker genes, default'scores'
.ascend (
Optional
[bool
]) – whether to sort by ascending.fontsize (
Optional
[int
]) – the font size.ncols (
Optional
[int
]) – number of plot columns.sharey (
Optional
[bool
]) – share scale or not.width (
Optional
[int
]) – the figure width in pixels.height (
Optional
[int
]) – the figure height in pixels.out_path – the path to save the figure.
out_dpi – the dpi when the figure is saved.