DPT-methods: DPT methods

Description Usage Arguments Value See Also Examples

Description

Methods for the DPT class. branch_divide subdivides branches for plotting (see the examples).

Usage

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

Arguments

dpt, object

DPT object

divide

Vector of branch numbers to use for division

value

Value of slot to set

Value

branch_divide and dataset<- return the changed object, dataset the extracted data, and tips the tip indices.

See Also

plot.DPT uses branch_divide for its divide argument.

Examples

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')

destiny documentation built on Nov. 8, 2020, 7:38 p.m.

Related to DPT-methods in destiny...