runDiffusionMap: Calculate diffusion map in CYT

Description Usage Arguments Value See Also Examples

View source: R/destiny.R

Description

Calculate diffusion map in CYT

Usage

1
2
3
4
5
6
7
8
9
runDiffusionMap(
  object,
  sigma.use = NULL,
  distance = c("euclidean", "cosine", "rankcor"),
  k = 30,
  density.norm = TRUE,
  verbose = FALSE,
  ...
)

Arguments

object

a CYT object

sigma.use

numeric. Diffusion scale parameter of the Gaussian kernel. One of 'local', 'global', a numeric global sigma or a Sigmas object. When choosing 'global', a global sigma will be calculated using find_sigmas (See destiny). A larger sigma might be necessary if the eigenvalues can not be found because of a singularity in the matrix. See destiny.

distance

Distance measurement method applied to data or a distance matrix/dist. For the allowed values, see destiny

k

numeric. By default is 30. destiny can be used to specify k.

density.norm

logical. If TRUE, use density normalisation. See destiny

verbose

logical. Whether to print calculation progress.

...

options to pass on to the destiny.

Value

A CYT object

See Also

destiny

Examples

1
2
3
4
cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)

cyt <- runDiffusionMap(cyt, verbose = TRUE)

CytoTree documentation built on Nov. 10, 2020, 2 a.m.