Description Usage Arguments Value Examples
Title Dimension reduction plot (2D) with tsne/umap
1 2 | Embedding(exprmatx, method = "umap", rdm = 123, n_neighours = 20,
min_dist = 0.5, perplex = 25, iter = 8000)
|
exprmatx |
Dataframe dataframe with each row represents a gene and each column represents a cell |
method |
str (default tsne). "umap" / "tsne" |
rdm |
int. (default 123) random seed number for umap (https://umap-learn.readthedocs.io/en/latest/parameters.html). |
n_neighours |
int. (default=20) param for umap. Higher, more global structure . |
min_dist |
float. (default=0.1) between 0-1, Higher, more global structure. |
perplex |
int. default = 25 tsne para. |
iter |
int. default = 8000 tsne para. |
a ggplot object
1 | p <- Embedding(expr,"umap")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.