Description Usage Arguments Value
View source: R/gene-cascade.R View source: R/gene-cascade.R
Generates lists of cells using a moving window. Size of windows is either determined by pseudotime (if pseudotime.per.window
is set) or by number of cells (if cells.per.window
is set). If both are set, windows are determined by number of cells, but then windows whose pseudotime differ by less than pseudotime.per.window
are collapsed.
1 2 3 4 5 6 7 8 9 | pseudotimeMovingWindow(
object,
pseudotime,
cells,
moving.window,
cells.per.window = NULL,
pseudotime.per.window = NULL,
name.by = c("mean", "min", "max")
)
|
object |
A URD object |
pseudotime |
(Character) Name of column in |
cells |
(Character vector) Names of cells to include |
moving.window |
(Numeric) Number of bins to use per window |
cells.per.window |
(Numeric or |
pseudotime.per.window |
(Numeric or |
name.by |
(Character: "mean", "min", or "max") |
List of windows of cells, named by either the mean, min, or max pseudotime of those cells (depending on name.by
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.