scatterPlot | R Documentation |
Scatterplot of a Seurat object based on dimension reduction.
scatterPlot(
seu,
reduction,
colour.by,
colvec = NULL,
title = NULL,
sort.by.numbers = TRUE,
viridis_option = "B"
)
seu |
Seurat S4 object after the step of |
reduction |
Character. The dimension reduction used to plot. Common
options: |
colour.by |
Character. One of the column names of |
colvec |
A vector of Hex colour codes. If no value is given (default), a vector of 74 colours will be used. |
title |
Character. Title of the figure. |
sort.by.numbers |
Boolean. Whether to sort the groups by the number
of cells.(Default: |
viridis_option |
viridis_option. (Default: |
A ggplot2 scatter plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.