Description Usage Arguments Value
View source: R/SingleR.Plotting.R
Plot boxplots for each label for a given single cell.
1 2 3 | SingleR.DrawBoxPlot(sc_data, cell_id, ref, labels.use = NULL,
quantile.order = 0.8, main_types = F, top.n = 50, tit = NULL,
colors = singler.colors)
|
sc_data |
the single-cell RNA-seq data set as a matrix with genes as rownames. |
cell_id |
a number of the single cell to use |
ref |
the reference dataset with genes as rownames. Gene names must be in the same format as the single cell data (if sc_data uses genes symbols, ref_data must have the same) |
labels.use |
a list of labels to use. If NULL uses all labels. |
quantile.order |
same a quantile.use - by which percentile to order the boxplots. |
main_types |
aggregate labels by main types or by all types |
top.n |
number of boxplots to present (starting from top) |
tit |
title for the boxplot |
colors |
colors to use. Default is singler.colors |
a list with a ggplot and the scores for the single cell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.