Embeddings: Get cell embeddings

Description Usage Arguments Examples

Description

Get cell embeddings

Usage

1
2
3
4
5
6
7
Embeddings(object, ...)

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

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

Arguments

object

An object

...

Arguments passed to other methods

reduction

Name of reduction to pull cell embeddings for

Examples

1
2
3
4
5
# 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]

gcday/seurat_fresh documentation built on June 23, 2019, 12:02 a.m.