View source: R/scAI_plotting.R
visualize cells on the 2D space with gene expression or chromatian accessibility overlayed
1 2 3 4 | featureVisualization(object, assay, feature.use, method = "VscAI",
nCol = NULL, xlabel = "VscAI1", ylabel = "VscAI2",
cell.size = 0.3, show.legend = T, show.legend.combined = F,
show.axes = T)
|
object |
scAI object |
assay |
define an assay to show, e.g., assay = "RNA" |
feature.use |
a vector of features |
method |
dimensional reduction method, e.g., VscAI, tsne, umap |
nCol |
number of columns of the plot |
xlabel |
label shown on x-axis |
ylabel |
label shown on y-axis |
cell.size |
the size of points (cells) |
show.legend |
whether show individual legend |
show.legend.combined |
whether just show one legend |
show.axes |
whether show the axes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.