plotImage: Plot histology image

View source: R/plotH-M.R

plotImageR Documentation

Plot histology image

Description

Plots the histology image as a raster.

Usage

plotImage(object, xrange = NULL, yrange = NULL, ...)

Arguments

object

An object of class spata2.

xrange, yrange

Vector of length two or NULL. If not NULL, specifies the x- and y-range to which the output image is cropped. E.g. xrange = c(200, 500) results in the image being cropped from x-coordinate 200px up to x-coordinate 500px. If NULL, the original image ranges are taken.

This argument works within the SPATA2 distance framework. If values are specified in European units of length the input is immediately converted to pixel units. See info section Distance measures for more information.

...

Used to absorb deprecated arguments or functions.

Value

A plot that is immediately plotted.


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