Plotting functions#
Basic plotting#
|
Draw a networkx graph on an axes. |
|
Draw a grouped violinplot. |
|
Show an image stored in adata.uns["spatial"]. |
|
Plot a 2D histogram of two features. |
|
Fit a linear model to the data and plot the fit line. |
|
Create a scatter plot of x vs y. |
|
Draw a simple violinplot. |
Special plotting#
|
Create an elbow plot for a dimensionality reduction method. |
|
Create a Moran scatter plot. |
|
Plot barcode data from adata.obs or adata.obsm. |
|
Create a histogram of the number of barcodes per feature. |
|
Plot barcode features in a 2D histogram. |
|
Plot a correlogram of spatial autocorrelation. |
|
Plot the loadings of a dimensionality reduction method. |
|
Plot expression of genes in adata. |
|
Plot gene features in a 2D histogram. |
|
|
|
Plot local results from the adata.obsm. |
|
Plots simulated Moran's I values for a feature or features. |
|
Create a PCA plot of the fist |
|
Plot spatial features. |
|
Plot spatially reduced dimensions. |
Helper functions#
|
Configure subplots for a given number of plots. |
|
Configure the violins in a violinplot. |
|
Create a contour plot. |
|
Plot barcode data on a single axis. |
|
Create a figure with subplots and a single colorbar. |