scviva.pl.scviva_de.plot_connectivity_distribution#
- scviva.pl.scviva_de.plot_connectivity_distribution(csr_matrix)[source]#
Plot a histogram of the number of non-zero entries per row of a sparse matrix.
- Parameters:
- csr_matrix
csr_matrix Sparse matrix in CSR format (e.g. a cell-cell connectivity matrix). The number of non-zero entries per row is computed from its
indptrattribute and shown as a density-normalized histogram.
- csr_matrix
- Return type: