identifyTissueSections: Identify tissue sections

View source: R/i.R

identifyTissueSectionsR Documentation

Identify tissue sections

Description

Identifies how many non-contiguous tissue sections the data set contains and maps the barcode-spots to them.

Usage

identifyTissueSections(object, eps = getCCD(object, "px") * 1.25, minPts = 3)

Arguments

object

An object of class spata2.

eps

size (radius) of the epsilon neighborhood. Can be omitted if x is a frNN object.

minPts

number of minimum points required in the eps neighborhood for core points (including the point itself).

Value

An updated spata2 object. The coordinates data.frame as obtained by getCoordsDf() contains an additional, character variable named section indicating the tissue section a barcode spot was mapped to.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.