This function is the most basic start if you want to extract data for your individual analysis.

(In order to extract the coordinates as well use getCoordinates().)

getSpataDf(object, 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.

Value

A tidy data.frame containing the character variables barcodes and sample.

See also

joinWith