Description Usage Arguments Value Examples
Run Multiple Correspondence Analysis
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", ...)
|
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 |
Seurat or SCE object with MCA calculation stored in the reductions slot.
1 | seuratPbmc <- RunMCA(seuratPbmc, nmcs = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.