Sets the reference barcode ids.

setBarcodes(object, barcodes)

Arguments

object

An object of class spata2.

barcodes

Character vector. Barcode ids.

Value

A spata object containing the set input.

Details

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.