View source: R/scAI_plotting.R
visualize cells on the 2D space with features overlayed
1 2 3 4 | featureScoreVisualization(object, feature.use = NULL, feature.scores,
method = "VscAI", colormap = "RdPu", color.direction = 1,
nCol = NULL, xlabel = "VscAI1", ylabel = "VscAI2", show.axes = T,
cell.size = 0.3, show.legend = T, show.legend.combined = F)
|
object |
scAI object |
feature.use |
a vector of features |
feature.scores |
a matrix containing the feature scores |
method |
dimensional reduction method, e.g., VscAI, tsne, umap |
colormap |
RColorbrewer palette to use |
color.direction |
Sets the order of colours in the scale. If 1, the default, colours are as output by RColorBrewer::brewer.pal(). If -1, the order of colours is reversed. |
nCol |
number of columns of the plot |
xlabel |
label shown on x-axis |
ylabel |
label shown on y-axis |
show.axes |
whether show the axes |
cell.size |
the size of points (cells) |
show.legend |
whether show individual legend |
show.legend.combined |
whether just show one legend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.