GetGeneCellCoordinates: Get coordinates of both cells and features in a matrix

Description Usage Arguments Value

View source: R/mcaAndReduction.R

Description

Get coordinates of both cells and features in a matrix

Usage

1
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


Cortalak/cellID documentation built on Aug. 3, 2020, 9:01 p.m.