Description Usage Arguments Value See Also Examples
Methods for the DPT class. branch_divide
subdivides branches for plotting (see the examples).
1 2 3 4 5 6 7 8 9 | branch_divide(dpt, divide = integer(0L))
tips(dpt)
## S4 method for signature 'DPT'
dataset(object)
## S4 replacement method for signature 'DPT'
dataset(object) <- value
|
dpt, object |
DPT object |
divide |
Vector of branch numbers to use for division |
value |
Value of slot to set |
branch_divide
and dataset<-
return the changed object, dataset
the extracted data, and tips
the tip indices.
plot.DPT uses branch_divide
for its divide
argument.
1 2 3 4 | data(guo_norm)
dpt <- DPT(DiffusionMap(guo_norm))
dpt_9_branches <- branch_divide(dpt, 1:3)
plot(dpt_9_branches, col_by = 'branch')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.