View source: R/Plotting_functions.R
plot_gene | R Documentation |
Cells are coloured according to the expression of gene_id and plotted according to coordinate_umap.
plot_gene(norm_counts, coordinate_umap, gene_id, title_name)
norm_counts |
Norm count matrix (genes X cells). |
coordinate_umap |
Data frame with dimensionality reduction coordinates. Number of rows must be equal to the number of cells |
gene_id |
Character name of the gene. |
title_name |
Character name. |
ggplot2 object.
Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.