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.
upscaleUmatrix(Umatrix, Factor = 2,BestMatches, Imx)
A List consisting of:
A matrix representing the upscaled umatrix.
If BestMatches was given as parameter: The rescaled
BestMatches for an island cutout. Otherwise: NULL
If Imx was given as parameter: The rescaled matrix for an island
cutout. Otherwise: NULL
The umatrix which should be upscaled
The BestMatches which should be upscaled
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
Optional: Island cutout of the umatrix. Should also be scaled to the new size of the umatrix.
Felix Pape