TSNEPlot {MBMethPred}R Documentation

t-SNE 3D plot

Description

A function to draw a 3D t-SNE plot for DNA methylation beta values using the K-means clustering technique.

Usage

TSNEPlot(File, NCluster = 4)

Arguments

File

The output of ReadMethylFile function.

NCluster

The number of cluster.

Value

Objects of rgl

Examples


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)


[Package MBMethPred version 0.1.4.2 Index]