MakeGUIPlots: Construct plots for multidimensional scaling models.

Description Usage Arguments Details Value Author(s) See Also

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

1
2
3
    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

. The list depends on the values of Norms and Dimensions specified in GraphMetagen. To plot the 3D PCoA model, GraphQuant is to be replaced by GraphQuant$mds3d. See Details.

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)

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.

Author(s)

Deepak Nag Ayyala <deepaknagayyala@gmail.com>

See Also

Make2DPlots, Make3DPlots, Make4DPlots


GrammR documentation built on May 1, 2019, 8:46 p.m.