View source: R/umapClustering.R
createUmapPlotData | R Documentation |
Create UMAP cluster plot
createUmapPlotData(umapData = NULL, data4umap = NULL,
freqCutoff = c(0,200), excludeTaxa = "None", currentNCBIinfo = NULL)
umapData |
data contains UMAP cluster (output from umapClustering()) |
data4umap |
data for UMAP clustering (output from prepareUmapData()) |
freqCutoff |
gene/taxon frequency cutoff range. Any labels that are outside of this range will be assigned as [Other] |
excludeTaxa |
hide taxa from plot. Default: "None" |
currentNCBIinfo |
table/dataframe of the pre-processed NCBI taxonomy data (/PhyloProfile/data/preProcessedTaxonomy.txt) |
A plot as ggplot object
Vinh Tran tran@bio.uni-frankfurt.de
prepareUmapData
, umapClustering
rawInput <- system.file(
"extdata", "test.main.long", package = "PhyloProfile", mustWork = TRUE
)
longDf <- createLongMatrix(rawInput)
data4umap <- prepareUmapData(longDf, "phylum")
umapData <- umapClustering(data4umap)
createUmapPlotData(umapData, data4umap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.