umapClustering: Perform UMAP clustering 2D

View source: R/umapClustering.R

umapClusteringR Documentation

Perform UMAP clustering 2D

Description

Perform UMAP clustering 2D

Usage

umapClustering(data4umap = NULL, by = "taxa", type = "binary", 
    randomSeed = 123)

Arguments

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

Value

A list contain UMAP cluster objects

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

prepareUmapData

Examples

rawInput <- system.file(
   "extdata", "test.main.long", package = "PhyloProfile", mustWork = TRUE
)
longDf <- createLongMatrix(rawInput)
data4umap <- prepareUmapData(longDf, "phylum")
umapClustering(data4umap)

BIONF/PhyloProfile documentation built on Nov. 7, 2024, 8:31 p.m.