add_densmap: run densMAP and store the result in reducedDim(x, "DENSMAP")

Description Usage Arguments Value See Also

View source: R/add_densmap.R

Description

run densMAP and store the result in reducedDim(x, "DENSMAP")

Usage

1
add_densmap(x, nc = 3L, rdn = NULL, ...)

Arguments

x

a SingleCellExperiment or a slice of one

nc

how many components to keep for the densmap embedding (6)

rdn

reducedDimName to use ("HARMONY" if present, "PCA" otherwise)

...

other parameters to pass to densvis::densmap

Value

1
   a SingleCellExperiment with reducedDim(x, "DENSMAP")

See Also

1
  densmap

trichelab/velocessor documentation built on Jan. 5, 2022, 6:27 p.m.