runWalk {CytoTree} | R Documentation |
Walk between root cells and leaf cells
runWalk( object, mode = c("undirected", "directed", "max", "min", "upper", "lower", "plus"), max.run.forward = 20, backward.walk = FALSE, max.run.backward = 20, verbose = FALSE, ... )
object |
An 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. |
An CYT object
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)