GetGeneCellCoordinates: GeneCellCoordinates

View source: R/mcaAndReduction.R

GetGeneCellCoordinatesR Documentation

GeneCellCoordinates

Description

Get coordinates of both cells and features in a matrix

Usage

GetGeneCellCoordinates(X, reduction, dims, features)

Arguments

X

Seurat or SingleCellExperiment Object

reduction

Which dimensionality reduction to use, must be based on MCA.

dims

A vector of integers indicating which dimensions to use with reduction embeddings and loadings for distance calculation.

features

Character vector of feature names to subset feature coordinates. If not specified will take all features available from specified reduction Loadings.

Value

A matrix with gene and cell coordinates of MCA


RausellLab/CelliD documentation built on Jan. 12, 2024, 3:44 a.m.