showMatrix3D: showMatrix3D

View source: R/showMatrix3D.R

showMatrix3DR Documentation

showMatrix3D

Description

Visualizes the matrix(Umatrix/Pmatrix) in an interactive window in 3D.

Arguments

Matrix

Matrix to be plotted

BestMatches

Positions of BestMatches to be plotted onto the matrix

Cls

Class identifier for the BestMatch at the given point

Imx

a mask (island) that will be used to cut out the Umatrix

Toroid

Should the Matrix be drawn 4 times (in a toroid view)

HeightScale

Optional. Scaling Factor for Mountain Height

BmSize

Size of drawn BestMatches

RemoveOcean

Remove as much area sourrounding an island as possible

ColorStyle

Either "Umatrix" or "Pmatrix" respectevily for their colors

ShowAxis

Draw an axis arround the drawn matrix

SmoothSlope

Try to increase the island size, to get smooth slopes around the island

ClsColors

Vector of colors that will be used for classes

FileName

Name for a stl file to write the Matrix to

Details

The heightScale is set at the proportion of the 1 percent quantile against the 99 percent quantile of the Matrix values.

References

Thrun, M. C., Lerch, F., Loetsch, J., Ultsch, A.: Visualization and 3D Printing of Multivariate Data of Biomarkers, in Skala, V. (Ed.), International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision,Plzen, 2016.

Examples

## Not run: 
data("Hepta")
e = esomTrain(Hepta$Data, Key = 1:nrow(Hepta$Data))
showMatrix3D(e$Umatrix)

## End(Not run)

Umatrix documentation built on Nov. 25, 2023, 5:08 p.m.