Removes data points that fall on tissue fragments as identified by identifyTissueOutline() and identifySpatialOutliers()

removeTissueFragments(object, fragments = NULL, fdb_fn = "message")

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

fragments

Numeric vector, character vector or NULL. If NULL, all tissue fragments are removed. If numeric or character indicates the fragments to be removed.

Value

The updated input object, containing the added, removed or computed results.

Tutorials

Extensive tutorials for how to use this function can be found on our website https://themilolab.github.io/SPATA2/ .