destiny generics {destiny} | R Documentation

## destiny generics

### Description

destiny provides several generic methods and implements them for the `DiffusionMap` and `Sigmas` classes.

### Usage

    eigenvalues(object)

    eigenvalues(object) <- value

    eigenvectors(object)

    eigenvectors(object) <- value

    sigmas(object)

    sigmas(object) <- value

    dataset(object)

    dataset(object) <- value

    distance(object)

    distance(object) <- value

    optimal_sigma(object)

### Arguments

`object` | Object from which to extract or to which to assign a value
`value` | Value to assign within an object

### Value

`eigenvalues` retrieves the numeric eigenvalues

`eigenvectors` retrieves the eigenvectors matrix

`sigmas` retrieves the `Sigmas` from an object utilizing it as kernel width

`dataset` retrieves the data the object was created from

`distance` retrieves the distance metric used to create the object, e.g. `euclidean`

`optimal_sigma` retrieves the numeric value of the optimal sigma or local sigmas

### See Also

DiffusionMap methods and Sigmas class for implementations

### Examples

    data(guo_norm)
    dm <- DiffusionMap(guo_norm)
    eigenvalues(dm)
    eigenvectors(dm)
    sigmas(dm)
    optimal_sigma(dm)
    dataset(dm)
    distance(dm)

[Package destiny version 3.8.1 Index]