Methods for Molecules objects

# 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)

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

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

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