Description Usage Arguments Value
View source: R/SingleR.Plotting.R
Plot a colored tSNE plot according to a set of labels
1 2 3 4 |
SingleR |
the output from the SingleR function |
xy |
a matrix with the coordinates of the single cells |
labels |
labels for the single cells, Default is the SingleR labels |
score.thres |
single-cells with a score lower than this number are marked as 'X'. |
clusters |
if the SingleR method is 'clusters' then this vector is the cluster id for each single cell |
do.letters |
if TRUE shows letters the first letter of the annotation |
dot.size |
the size of the dot. Default is 1 |
do.labels |
only relevant in a 'cluster' method. If TRUE The cluster annotation is shown on top of the cluster. |
do.legend |
if TRUE legend is presented. |
label.size |
if do.labels is TRUE then this determines the font size of the labels |
title |
title for the plot |
colors |
colors to use |
font.size |
size of fonts in the plot |
alpha |
an alpha for the transparency of the dots |
a list with ggplot and a data frame with the coordinates and annotations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.