getImgAnnSf: Obtain simple feature

View source: R/getH-M.R

getImgAnnSfR Documentation

Obtain simple feature

Description

Exracts an object as created by sf::st_polygon() that corresponds to the image annotation.

Usage

getImgAnnSf(object, id)

Arguments

object

An object of class spata2.

id

Character value. The ID of the image annotation of interest.

Value

An object of class POLYGON from the sf package.


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