RunMCA: Run Multiple Correspondence Analysis

Description Usage Arguments Value Examples

View source: R/mca.R

Description

Run Multiple Correspondence Analysis

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
RunMCA(X, nmcs, features, reduction.name, slot, ...)

## S3 method for class 'matrix'
RunMCA(X, nmcs = 50, features = NULL,
  reduction.name = "MCA", ...)

## S3 method for class 'Seurat'
RunMCA(X, nmcs = 50, features = NULL,
  reduction.name = "mca", slot = "data", assay = DefaultAssay(X),
  ...)

## S3 method for class 'SingleCellExperiment'
RunMCA(X, nmcs = 50, features = NULL,
  reduction.name = "MCA", slot = "logcounts", ...)

Arguments

X

Seurat, SingleCellExperiment or matrix object

nmcs

number of components to compute and store, default set to 30

features

character vector of feature names. If not specified all features will be taken.

reduction.name

name of the reduction default set to "MCA" for SingleCellExperiment and mca

slot

Which slot to pull expression data from?

...

other aruments passed to methods

assay

Name of Assay MCA is being run on

Value

Seurat or SCE object with MCA calculation stored in the reductions slot.

Examples

1

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