Learn R Programming

GrammR (version 1.1.0)

MakeGUIPlots: Construct plots for multidimensional scaling models.

Description

Given the coordinates and estimated cluster membership of samples for a multidimensional scaling model, graphical visualizations of the estimated models are constructed. The graphical models are stored in a subdirectory within the current working directory for reuse. This function is used in GrammRGUI for constructing graphical representations and displaying them as gWidgets notebooks.

Usage

MakePlots2D(GraphQuant) MakePlots3D(GraphQuant) MakePlots4D(GraphQuant)

Arguments

GraphQuant
A list containing the estimated coordinates, cluster membership and average silhouette widths. The list is obtained as an outcome of GraphMetagen

Value

PlotTabs
An object of type gnotebook which contains tabs for different graphical models constructed. The constructed notebook consists of separate tabs for the average silhouette plot, estimated model, model showing estimated clusters and (optional)model showing true clusters. Plots are also saved in a directory created within the current working directory for future use.The model tabs for two dimensional models display the graphical model, whereas for higher dimensional models, the models tabs contain buttons to display the models in the default web browser.

Details

When GraphMetagen is used with Norms = c(2,3) and Dimensions = c(2,3,4), the resulting quantity contains MDS and PCoA models of dimensions 2, 3 and 4. If GraphQuant is the output of GraphMetagen, MakeGUIPlots is used to construct and save graphical models as following:

MakePlots2D(GraphQuant$mds2d) MakePlots3D(GraphQuant$mds3d) MakePlots4D(GraphQuant$mds4d) MakePlots2D(GraphQuant$pcoa2d) MakePlots3D(GraphQuant$pcoa3d) MakePlots4D(GraphQuant$pcoa4d)

See Also

Make2DPlots, Make3DPlots, Make4DPlots