subsetByBarcodes.Rd
Removes unwanted barcode spots from the object without any significant post processing.
subsetByBarcodes(object, barcodes, verbose = NULL)
An object of class spata2
.
Character vector. The barcodes of the barcode spots that are supposed to be kept.
Logical. If set to TRUE informative messages regarding the computational progress will be printed.
(Warning messages will always be printed.)
An updated spata2
object.
Unused levels of factor variables in the feature data.frame are dropped and directory settings are reset to NULL.