sc3_calc_transfs {SC3} | R Documentation

## Calculate transformations of the distance matrices.

### Description

This function transforms all `distances` items of the `sc3` slot of the `metadata(object)` using either principal component analysis (PCA) or by calculating the eigenvectors of the associated graph Laplacian. The columns of the resulting matrices are then sorted in descending order by their corresponding eigenvalues. The first `d` columns (where `d = max(metadata(object)$sc3$n_dim)`) of each transformation are then written to the `transformations` item of the `sc3` slot. Additionally, this function also removes the previously calculated `distances` from the `sc3` slot, as they are not needed for further analysis.

### Usage

    sc3_calc_transfs.SingleCellExperiment(object)

    ## S4 method for signature 'SingleCellExperiment'
    sc3_calc_transfs(object)

### Arguments

`object` | an object of `SingleCellExperiment` class

### Value

an object of `SingleCellExperiment` class

[Package SC3 version 1.15.1 Index]