ohmytsne | R Documentation |
A plot-friendly output for the Barnes-Hut implementation of t-SNE: test different perplexities and dimensions. See Rtsne::Rtsne for details on the algorithm.
ohmytsne(m, perplexity = c(15, 30, 50), ndim = ncol(m), ...)
m |
matrix; each row is an observation (eg. cell); each column is a feature (eg. gene / principal component) |
perplexity |
numeric vector of perplexities to use. Default: c(15, 30, 50) |
ndim |
numeric vector of dimensions to use. Default: ncol(m) |
... |
other arguments passed to Rtsne::Rtsne |
Every combination of values for 'perplexity' and 'ndim' will be run if multiple are provided for each.
a dataframe with columns: id, tSNE1, tSNE2, perplexity, ndim
Rtsne
join
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.