Description Usage Arguments Value Examples
Wrapper for the Rtsne
function. Users may call this
directly or call it through the plotTSNE
function and also pass
additional arguments related to the Rtsne
function.
1 2 3 4 5 |
object |
An expression matrix or a PCA-reduced matrix. |
... |
Additional arguments to pass on to |
PCA |
Set this PCA flag to TRUE if the object is a PCA-reduced matrix. Default: FALSE. |
dims |
Number of dimensions you would like to reduce to. Default: 2. |
seed |
(Optional) Set to a specific value for reproducible TSNE plots. Default: 0. |
perplexity |
(Optional) Numeric; perplexity parameter. Default: 30. |
theta |
(Optional) Numeric; Speed/accuracy trade-off. (increase for less accuracy). Default: 0.5. |
t-SNE coordinates in the "TSNE" slot of reducedDims
1 2 3 4 5 | # Load example EMSet
em_set <- ascend::analyzed_set
# Run tSNE
em_set <- runTSNE(em_set, PCA = TRUE, dims = 2, seed = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.