extractions {destiny} | R Documentation

## Extraction methods

### Description

Extraction methods

### Usage

    ## S4 method for signature 'DiffusionMap'
    names(x)

    ## S4 method for signature 'DPT'
    names(x)

    ## S4 method for signature 'DiffusionMap,character,missing'
    x[[i, j, ...]]

    ## S4 method for signature 'DPT,character,missing'
    x[[i, j, ...]]

    ## S4 method for signature 'DiffusionMap'
    x$name

    ## S4 method for signature '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

    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

[Package destiny version 2.14.0 Index]