scdemon.plotting.plot_umap_grid
- scdemon.plotting.plot_umap_grid(obj, graph_id, attr='leiden', plotname=None, ind=None, sel=None, width=2, s=0.5, imgdir='./')
Plot module average expression on the UMAP in a grid
- Parameters:
obj (gene_graph | modules) – Object (
gene_graphormodules) with modules to plotgraph_id (str) – Name of graph to work with
attr (str) – Name of modules in the graph
plotname – Name for output file, overriding default naming scheme
ind (np.array) – Which subset of cells to plot, (default
Noneis plot all cells)sel (list | np.array) – Which set of modules to plot
width (float) – Width (and height) of each subplot in the grid
s (float) – Size of points
imgdir (str) – Directory for images