Learn R Programming

SeuratObject (version 5.0.2)

Molecules-methods: Molecules Methods

Description

Methods for Molecules objects

Usage

# S3 method for Molecules
Features(x, ...)

# S3 method for Molecules GetTissueCoordinates(object, features = NULL, ...)

# S3 method for Molecules subset(x, features = NULL, ...)

# S4 method for Molecules show(object)

Value

Features: A vector of spatially-resolved molecule names; if no molecular information present, returns NULL

GetTissueCoordinates: A data frame with three columns:

  • x”: the x-coordinate of a molecule

  • y”: the y-coordinate of a molecule

  • molecule”: the molecule name

subset: x subsetted to the features specified by features

show: Invisibly returns NULL

Arguments

x, object

A Molecules object

...

Arguments passed to other methods

features

A vector of molecule names to keep; if NULL, defaults to all molecules

Details

Features: Get spatially-resolved molecule names

GetTissueCoordinates: Get spatially-resolved molecule coordinates

subset: Subset a Molecules object to certain molecules

show: Display an object summary to stdout

See Also

Molecules-class

Segmentation layer classes: Centroids-class, Centroids-methods, Molecules-class, Segmentation-class, Segmentation-methods