getCoordinates: Obtain spatial coordinates

View source: R/get-family.R

getCoordinatesR Documentation

Obtain spatial coordinates

Description

Obtain spatial coordinates

Usage

getCoordinates(object, of_sample = "")

getCoordinatesSegment(object, of_segment, of_sample = "")

Arguments

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.

Value

A data.frame containing the variables barcods, sample, x, y (and segment if specified).


kueckelj/SPATA documentation built on March 22, 2022, 9:59 p.m.