Merges tissue sections that have been mistakenly identified as two non-contiguous sections.

mergeTissueSections(object, sections, section_new, verbose = NULL)

Arguments

object

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

sections

Character vector. The names of the tissue sections to be merged.

section_new

Character value. The name of the resulting tissue section.

verbose

Logical. If TRUE, informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)

Value

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