getMoleculeCoordinates.Rd
Extracts the molecule coordinates of a specfific assay.
getMoleculeCoordinates(
object,
molecules = NULL,
assay_name = activeAssay(object)
)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character or NULL
. If character, specifies the molecules
of interest and the output data.frame is filtered accordingly.
Only relevant if the SPATA2
object contains more than
one assay: Denotes the assay of interest and thus the
molecular modality to use. Defaults to the active assay
as set by activateAssay()
.
Data.frame with variables molecule, x_orig, x, y_orig, y.