runWalk {CytoTree} | R Documentation

## Walk between root cells and leaf cells

### Description

Walk between root cells and leaf cells

### Usage

    runWalk(
      object,
      mode = c("undirected", "directed", "max", "min", "upper", "lower", "plus"),
      max.run.forward = 20,
      backward.walk = FALSE,
      max.run.backward = 20,
      verbose = FALSE,
      ...
    )

### Arguments

`object` | A CYT object
`mode` | character. Specifies how igraph should interpret the supplied matrix. Possible values are: undirected, directed, upper, lower, max, min, plus. By default is undirected.
`max.run.forward` | numeric. Maximum cycles of forward walk.
`backward.walk` | logical. Whether to run backward walk.
`max.run.backward` | numeric. Maximum cycles of backward walk.
`verbose` | logical. Whether to print calculation progress.
`...` | Parameters passing to calculation function.

### Value

A CYT object

### Examples

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

    cyt <- runWalk(cyt, verbose = TRUE)
    cyt <- runWalk(cyt, backward.walk = FALSE, verbose = TRUE)

[Package CytoTree version 1.0.3 Index]