RunDM.Rd
Run Diffusion Map on a Seurat object
RunDM(
object,
reduction = "pca",
dims = 1:30,
K = 10,
sigma = NULL,
n.components = 30,
t = 1,
dist.mat = NULL,
reduction.key = "DM_"
)
Seurat object
string; Dimensionality reduction to use, default: 'pca'
integer; Which dimensions to use as input features
integer; Adaptive kernel bandwidth for each point set to be the distance to its K
-th nearest neighbor.
numeric; Fixed kernel bandwidth, sigma
will be ignored if K
is specified.
integer; Number of leading nontrivial eigenvectors to export
integer; Number of diffusion times
matrix; Precomputed distance matrix (optional)
string; Dimensional reduction key, specifies the string before the number for the dimension names. 'DM_' by default
Returns a Seurat object containing a Diffusion Map representation