powered by
A function to draw a 3D t-SNE plot for DNA methylation beta values using the K-means clustering technique.
TSNEPlot(File, NCluster = 4)
Objects of rgl
The output of ReadMethylFile function.
The number of cluster.
# \donttest{ 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) # }
Run the code above in your browser using DataLab