setCoordsDf.Rd
Set the coordinates
setCoordsDf(object, coords_df, ...)
A valid spata-object.
A data.frame containing information about every barcode-spot. Must contain the variables:
barcodes Character. The barcode-sequences (+ the sample belonging) of every barcode spot.
sample Character. The sample belonging of every barcode-spot.
x Numeric. The x-coordinates of every barcode.
y Numeric. The y-coordinates of every barcode.
A spata object containing the set input.
All set*()
-functions offer a save way to set certain
slots of your spata-object. They do check the input for validity but
effectively overwrite everything that is occupying the slot to be set -
use with caution.