Nothing
scRNAtools_tsne <-
function(exam){
Rtsne::Rtsne
iris_unique <- unique(exam) # Remove duplicates
iris_matrix <- as.matrix(iris_unique[,1:(ncol(exam)-1)])
set.seed(42) # Set a seed if you want reproducible results
tsne_out <- Rtsne(iris_matrix)
pdf(file=file.path(tempdir(), "t-SNE.pdf"))
plot(tsne_out$Y,col=iris_unique$Cell)
title ("t-SNE analysis")
dev.off()
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.