runWalk: Walk between root cells and leaf cells

Description Usage Arguments Value Examples

View source: R/trajectory.R

Description

Walk between root cells and leaf cells

Usage

1
2
3
4
5
6
7
8
9
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

An FSPY 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

An FSPY object

Examples

1
2
3
4
if (FALSE) {
  fspy <- runWalk(fspy, verbose = TRUE)
  fspy <- runWalk(fspy, backward.walk = FALSE, verbose = TRUE)
}

JhuangLab/flowSpy documentation built on July 15, 2020, 8:31 a.m.