#'Calculate Rtsne
#'@param sco input variable gene matrix
#'@export calcTSNE
calcTSNE <- function(sco){
var.data <- t(sco@data[sco@var.genes,])
tsne.out <- Rtsne(var.data,dim=3)
sco@tsne <- tsne.out$Y
sco
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.