The sum of each gene in genes_relevant across all cells is first normalized to 1. Then for each cell, the sum from the (normalized) genes expression is computed and shown in the output plot.
plot_genes_sum(coordinate_umap, norm_counts, genes_relevant, name_title)Data frame with dimensionality reduction coordinates. Number of rows must be equal to the number of cells
Norm count matrix (genes X cells).
Vector with gene names for which we want to visualize the sum in each cell.
Character value.
ggplot2 object.