View source: R/umapClustering.R
dimReduction | R Documentation |
Perform dimension reduction 2D
dimReduction(data4dimRed = NULL, by = "taxa", type = "binary",
randomSeed = 123, reductionTechnique = "umap", dimension = "2d",
tsneIter = 1000)
data4dimRed |
data for dimension reduction (from prepareDimRedData) |
by |
cluster data by "taxa" (default) or "genes" |
type |
type of data, either "binary" (default) or "non-binary" |
randomSeed |
random seed. Default: 123 |
reductionTechnique |
dimensionality reduction technique, either "umap" (default) or "tsne" |
dimension |
either "2d" (default) or "3d" |
tsneIter |
number of iterations for t-SNE. Default: 1000 |
A table contains coordinates of the 2D dimension reduction
Vinh Tran tran@bio.uni-frankfurt.de
prepareDimRedData
rawInput <- system.file(
"extdata", "test.main.long", package = "PhyloProfile", mustWork = TRUE
)
longDf <- createLongMatrix(rawInput)
data4dimRed <- prepareDimRedData(longDf, "phylum")
dimReduction(data4dimRed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.