# NOT RUN {
####Here list three main function, cluster, PCA and t-SNE####
####cluster####
data(example1);##Example data in this package.
k<-6;##set K based on your own requirement.
scRNAtools_cluster(example1,k)
####PCA####
data(example1)
data(types)
pdf(file=file.path(tempdir(), "PCA_result-R.pdf"))##Save the figures of PCA results.
scRNAtools_pca(example1,types)
dev.off()
####t-SNE#####
data(exam)
scRNAtools_tsne(exam)
####Gene expression###
data(example)
types<-"1"
num<-0.8
scRNAtools_Geneexp(example,types,num)
# }
Run the code above in your browser using DataLab