View source: R/upscaleUmatrix.R

upscaleUmatrix | R Documentation |

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)
```

`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. |

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: |

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

Felix Pape

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.