Learn R Programming

Seurat (version 3.0.1)

Embeddings: Get cell embeddings

Description

Get cell embeddings

Usage

Embeddings(object, ...)

# S3 method for DimReduc Embeddings(object, ...)

# S3 method for Seurat Embeddings(object, reduction = "pca", ...)

Arguments

object

An object

...

Arguments passed to other methods

reduction

Name of reduction to pull cell embeddings for

Examples

Run this code
# NOT RUN {
# Get the embeddings directly from a DimReduc object
Embeddings(object = pbmc_small[["pca"]])[1:5, 1:5]

# Get the embeddings from a specific DimReduc in a Seurat object
Embeddings(object = pbmc_small, reduction = "pca")[1:5, 1:5]

# }

Run the code above in your browser using DataLab