slingBranchID | R Documentation |
Summarizes the lineage assignment weights from slingshot
results as a single vector. This is represented by a categorical variable
indicating which lineage (or combination of lineages) each cell is assigned
to.
slingBranchID(x, ...)
## S4 method for signature 'ANY'
slingBranchID(x, thresh = NULL)
x |
an object containing |
... |
additional arguments passed to object-specific methods. |
thresh |
weight threshold for assigning cells to lineages. A cell's
weight on a certain lineage must be at least this value (default =
|
a factor variable that assigns each cell to a particular lineage or set of lineages.
data("slingshotExample")
rd <- slingshotExample$rd
cl <- slingshotExample$cl
pto <- slingshot(rd, cl)
slingBranchID(pto)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.