Learn R Programming

destiny (version 2.0.4)

extractions: Extraction methods

Description

Extraction methods

Usage

# S4 method for DiffusionMap
names(x)

# S4 method for DPT names(x)

# S4 method for DiffusionMap,character,missing [[(x, i, j, ...)

# S4 method for DPT,character,missing [[(x, i, j, ...)

# S4 method for DPT,index,index [[(x, i, j, ...)

# S4 method for DiffusionMap $(x, name)

# S4 method for DPT $(x, name)

Arguments

x
DiffusionMap or DPT object
i, name
Name of a diffusion component 'DCx', 'DPTx', 'Branch' or column from the data
j
N/A
...
ignored

Value

The names or data row, see respective generics.

See Also

Extract, names for the generics. DiffusionMap accessors, DiffusionMap methods, coercions for more methods

Examples

Run this code
data(guo)
dm <- DiffusionMap(guo)
dm$DC1        # A diffusion component
dm$Actb       # A gene expression vector
dm$num_cells  # Phenotype metadata

dpt <- DPT(dm)
dm$Branch
dm$DPT1

Run the code above in your browser using DataLab