CalculateUMAPSickleJr | R Documentation |
Perform UMAP on the \mathbf{H}
matrix alone (default) or within a modality by
using UMAP on the W^vH
corresponding to modality v
.
CalculateUMAPSickleJr(
SickleJr,
umap.settings = umap::umap.defaults,
modality = NULL
)
SickleJr |
An object of class SickleJr |
umap.settings |
Optional settings for the |
modality |
A number corresponding to the desired modality; if set, will perform UMAP on
|
An object of class SickleJr with UMAP output based on the \mathbf{H}
matrix alone or within a modality added to its umap
slot
UMAPjrSiCKLSNMF
#Since this example has only 10 observations,
#we need to modify the number of neighbors from the default of 15
umap.settings=umap::umap.defaults
umap.settings$n_neighbors=2
SimSickleJrSmall<-CalculateUMAPSickleJr(SimSickleJrSmall,
umap.settings=umap.settings)
SimSickleJrSmall<-CalculateUMAPSickleJr(SimSickleJrSmall,
umap.settings=umap.settings,modality=1)
SimSickleJrSmall<-CalculateUMAPSickleJr(SimSickleJrSmall,
umap.settings=umap.settings,modality=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.