| defRootCells {flowSpy} | R Documentation |
definition of root cells
defRootCells(object, root.cells = NULL, verbose = FALSE)
object |
an FSPY object |
root.cells |
vector. Cell name of the root cells |
verbose |
logical. Whether to print calculation progress. |
An FSPY object
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)
}