sc3_calc_transfs: Calculate transformations of the distance matrices.

Description Usage Arguments Value

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

1
2
3
4
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


SC3 documentation built on Nov. 8, 2020, 7:52 p.m.