upscaleUmatrix: Upscale a Umatrix grid

Description Usage Arguments Value Author(s)

View source: R/upscaleUmatrix.R

Description

Use linear interpolation to increase the size of a umatrix. This can be used to produce nicer ggplot plots in plotTopographicMap and is going to be used for further normalization of the umatrix.

Usage

1
upscaleUmatrix(Umatrix, Factor = 2,BestMatches, Imx)

Arguments

Umatrix

The umatrix which should be upscaled

BestMatches

The BestMatches which should be upscaled

Factor

Optional: The factor by which the axes will be scaled. Be aware that the size of the matrix will grow by Factor squared. Default: 2

Imx

Optional: Island cutout of the umatrix. Should also be scaled to the new size of the umatrix.

Value

A List consisting of:

Umatrix

A matrix representing the upscaled umatrix.

BestMatches

If BestMatches was given as parameter: The rescaled BestMatches for an island cutout. Otherwise: NULL

Imx

If Imx was given as parameter: The rescaled matrix for an island cutout. Otherwise: NULL

Author(s)

Felix Pape


GeneralizedUmatrix documentation built on Jan. 16, 2021, 5:37 p.m.