getCoordinates.Rd
Obtain spatial coordinates
getCoordinates(object, of_sample = "") getCoordinatesSegment(object, of_segment, of_sample = "")
object | A valid spata-object. |
---|---|
of_sample | The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen. |
of_segment | Character value. Specifies the segment of interest. |
A data.frame containing the variables barcods, sample, x, y (and segment if specified).