Description Usage Arguments Value Examples
Generates a 2D TSNE plot using a TSNE matrix generated by the
runTSNE
function.
1 |
object |
An |
Dim1 |
Dimension to plot on the x-axis. |
Dim2 |
Dimension to plot on the y-axis. |
group |
(Optional) Name of the column in colInfo that describe a set of conditions you would like to colour cells by. |
density |
Vary alpha by density (Default: FALSE) |
A ggplot glob that contains a scatter plot.
1 2 3 4 5 | # Load analyzed EMSet
em_set <- ascend::analyzed_set
# Use function to generate plots
tsne_plot <- plotTSNE(em_set, Dim1 = 1, Dim2 = 2, group = "cluster")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.