View source: R/umapClustering.R
umapClustering | R Documentation |
Perform UMAP clustering
umapClustering(data4umap = NULL, by = "taxa", type = "binary",
randomSeed = 123)
data4umap |
data for UMAP clustering (output from prepareUmapData) |
by |
cluster data by "taxa" (default) or "genes" |
type |
type of data, either "binary" (default) or "non-binary" |
randomSeed |
random seed. Default: 123 |
A list contain UMAP cluster objects
Vinh Tran tran@bio.uni-frankfurt.de
prepareUmapData
rawInput <- system.file(
"extdata", "test.main.long", package = "PhyloProfile", mustWork = TRUE
)
longDf <- createLongMatrix(rawInput)
data4umap <- prepareUmapData(longDf, "phylum")
umapClustering(data4umap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.