Description Usage Arguments Value
View source: R/scAI_plotting.R
VscAI visualize the genes, loci and factors that separate cell states on two dimensions alongside the cells
1 2 3 4 5 |
object |
scAI object |
gene.use |
embedded genes |
loci.use |
embedded loci |
loci.use.names |
alternative names of embedded loci, e.g, the corresponding motif |
color.by |
the name of the variable in pData, defining cell groups, cells are colored based on the labels |
labels.order |
defining the factor level |
colors.use |
defining the color for each cell group |
brewer.use |
use RColorBrewer palette instead of default ggplot2 color |
xlabel |
label of x-axis |
ylabel |
label of y-axis |
title |
main title of the plot |
label.size |
font size of the legend |
cell.size |
size of the dots |
font.size |
size of font |
do.label |
label the cluster in 2D space |
show.legend |
whether show the legend |
show.axes |
whether show the axes |
ggplot2 object with 2D plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.