chmAddUMAP | R Documentation |
Add UMAP coordinates as hidden covariate bars to an axis of an NG-CHM. One hidden covariate bar is added for each UMAP coordinate. Coordinates have names 'BASENAME.coordinate.N', where BASENAME is specified by the parameter basename (default UMAP) and N ranges from 1 to the number of added covariate bars.
chmAddUMAP(hm, axis, umap, basename = "UMAP")
hm |
The NGCHM to add the coordinates to. |
axis |
The NGCHM axis ("row" or "column") to add the coordinates to. |
umap |
TSNE coordinates (output of |
baseName |
The prefix to use for the coordinate names. |
The NGCHM with added coordinates.
chmAddPCA()
chmAddTSNE()
chmAddUWOT()
chmAddReducedDim()
umc <- umap::umap(t(TCGA.GBM.EXPR)); hm <- chmNew ("gbm", TCGA.GBM.EXPR); hm <- chmAddUMAP(hm, "column", umc);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.