| 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 = NULL, tsne_perplexity = 30, ...)
runTsne(...)
object | 
 An object of class   | 
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   | 
... | 
 Additional arguments given to   | 
The updated input object, containing the added, removed or computed results.
runPCA(), getPcaDf(), getTsneDf(), getUmapDf()
library(SPATA2)
data("example_data")
object <- example_data$object_UKF269T_diet
object <- runPCA(object)
object <- runTSNE(object)
object <- runUMAP(object)
plotPCA(object, color_by = "histology")
plotTSNE(object, color_by = "histology")
plotUMAP(object, color_by = "histology")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.