runUMAP {karyotapR} | R Documentation |
Cluster matrix data by UMAP
Description
Analyzes matrix data by UMAP and saves results to reducedDims
slot of TapestriObject
.
Usage
runUMAP(
TapestriExperiment,
alt.exp = "alleleFrequency",
assay = NULL,
use.pca.dims = TRUE,
pca.dims = NULL,
...
)
Arguments
TapestriExperiment |
|
alt.exp |
Character, |
assay |
Character, |
use.pca.dims |
Logical, if |
pca.dims |
Numeric, indices of PCs to use in UMAP. Default |
... |
Additional parameters to pass to |
Value
TapestriExperiment
with UMAP embeddings saved to reducedDims
slot of altExp.
Examples
tap.object <- newTapestriExperimentExample() # example TapestriExperiment object
tap.object <- runPCA(tap.object, alt.exp = "alleleFrequency")
tap.object <- runUMAP(tap.object, pca.dims = 1:3)
[Package karyotapR version 1.0.1 Index]