Skip to contents

Retrieve embeddings from SpatialMap objects by name, or, if no value is passed, list an object's embeddings as a character.

Usage

embeddings(x, value)

# S4 method for SpatialMap,missing
embeddings(x, value)

# S4 method for SpatialMap,character
embeddings(x, value)

# S4 method for Analysis,character
embeddings(x, value)

# S4 method for Analysis,missing
embeddings(x, value)

# S4 method for Representation,missing
embeddings(x, value)

# S4 method for Representation,character
embeddings(x, value)

Arguments

x

An object

value

The name of an embedding, e.g. "spatial".

Value

An embedding matrix, or a vector specifying embedding names

Scroll to top