sub-sub-.DimReduc: Get Cell Embeddings

[[.DimReducR Documentation

Get Cell Embeddings

Description

Pull cell embeddings from a dimensional reduction

Usage

## S3 method for class 'DimReduc'
x[[i, j, drop = FALSE, ...]]

Arguments

x

A DimReduc object

i

Cell names or indices

j

Dimension identifiers or indices

drop

Coerce the result to the lowest possible dimension; see drop for further details

...

Arguments passed to other methods

Value

Cell embeddings for cells i and dimensions j

See Also

Embeddings

Dimensional reduction object, validity, and interaction methods CreateDimReducObject(), DimReduc-class, DimReduc-validity, [.DimReduc(), dim.DimReduc(), merge.DimReduc(), print.DimReduc(), subset.DimReduc()

Examples

pca <- pbmc_small[["pca"]]
pca[[1:10, 1:5]]


SeuratObject documentation built on Nov. 18, 2023, 1:06 a.m.