Description Usage Arguments Value Examples
Plots a variable on a t-SNE
1 2 3 |
toplot |
the variable that should be plotted. Either a character vector
or a factor, or a (continuous) numeric.
If toplot is not named with the rownames of |
input |
a SingleCellExperiment on which |
redD |
the name of the reducedDim of the input to use for plotting |
col |
a vector of colors. If |
return |
instead of printing, return the ggplot object |
limits |
the limits of the continuous variable to plot. When not provided the minimal and maximal value will be used |
pt.size |
the point-size |
shiny |
Needed for the shiny application: should always be NULL |
y_limits |
the y-axis limits |
x_limits |
the x-axis limits, if NULL |
legend_label |
the label of the legend |
A ggplot object
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.