runTsne | R Documentation |
Takes the pca-data of the object up to the principal component denoted
in argument n_pcs
and performs tSNE with it.
runTsne(object, n_pcs = 20, tsne_perplexity = 30, of_sample = NA, ...)
runTsne2(object, n_pcs = 20, tsne_perplexity = 30, of_sample = NA, ...)
object |
A valid spata-object. |
n_pcs |
Numeric value. Denotes the number of principal components used. Must be smaller or equal to the number of principal components the pca data.frame contains. |
tsne_perplexity |
Numeric value. Given to argument |
of_sample |
This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample. |
... |
Additional arguments given to |
runTsne()
: An updated spata-object containing the reduction variables in the tsne data.frame.
runTsne2()
: The direct output-object of Rtsne::Rtsne()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.