Learn R Programming

gsdensity (version 0.1.2)

compute.mca: 1. compute MCA embeddings

Description

1. compute MCA embeddings

Usage

# S3 method for mca
compute(object, dims.use = 1:10, genes.use = rownames(object))

Value

returns a dataframe with cells as rows and mca coordinates as columns

Arguments

object

a seurat object

dims.use

which mca dimensions to use; default is the first 10 dimensions

genes.use

which genes to use; default is all genes in the object

Examples

Run this code
# \donttest{
pbmc <- Seurat::CreateSeuratObject(pbmc.mtx, meta.data = pbmc.meta)
ce <- compute.mca(object = pbmc)
# }

Run the code above in your browser using DataLab