defRootCells {flowSpy}R Documentation

definition of root cells

Description

definition of root cells

Usage

defRootCells(object, root.cells = NULL, verbose = FALSE)

Arguments

object

an FSPY object

root.cells

vector. Cell name of the root cells

verbose

logical. Whether to print calculation progress.

Value

An FSPY object

Examples


if (FALSE) {
# Define root cells by cluster
fspy <- defRootCells(fspy, root.cells = 6, verbose = TRUE)
fspy <- defRootCells(fspy, root.cells = c(6,8), verbose = TRUE)

# Define root cells by cell names
cells <- test.meta.data$cell[which(test.meta.data$stage == "D0")]
cells <- as.character(cells)
fspy <- defRootCells(fspy, root.cells = cells, verbose = TRUE)
}



[Package flowSpy version 1.0.4 Index]