Learn R Programming

CIARA (version 0.1.0)

plot_gene: plot_gene

Description

Cells are coloured according to the expression of gene_id and plotted according to coordinate_umap.

Usage

plot_gene(norm_counts, coordinate_umap, gene_id, title_name)

Arguments

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.

Value

ggplot2 object.

See Also

https://CRAN.R-project.org/package=ggplot2