TSNEPlot | R Documentation |
A function to draw a 3D t-SNE plot for DNA methylation beta values using the K-means clustering technique.
TSNEPlot(File, NCluster = 4)
File |
The output of ReadMethylFile function. |
NCluster |
The number of cluster. |
Objects of rgl
set.seed(123)
data <- Data2[1:100,]
data <- data.frame(t(data))
data <- cbind(rownames(data), data)
colnames(data)[1] <- "ID"
TSNEPlot(File = data, NCluster = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.