View source: R/visualization_with_simple_tsne.R
| visualization_with_simple_tsne | R Documentation |
A simple t-SNE plot.
visualization_with_simple_tsne( expr_data_frame, group, main = "Simple t-SNE", perplexity = 10 )
expr_data_frame |
A data frame containing ID and quantification value. |
group |
A factor for group information. |
main |
The main title of plot. |
perplexity |
A numerical value for perplexity, the default is 10. |
A simple t-SNE plot.
Dongdong Zhan and Mengsha Tong
## The process needs to load data from PhosMap datasets stored into FTP server and perform large computation.
## It may take a few minutes.
if(FALSE){
ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/visualization_with_simple_tsne.RData"
load_data <- load_data_with_ftp(ftp_url, 'RData')
writeBin(load_data, "visualization_with_simple_tsne.RData")
load("visualization_with_simple_tsne.RData")
visualization_with_simple_tsne(
expr_data_frame,
group,
main = 'Simple t-SNE',
perplexity = 12
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.