MakeServPlots: 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 GrammRServ for constructing graphical representations.

Usage

1
2
3
    Make2DPlots(GraphQuant)
    Make3DPlots(GraphQuant)
    Make4DPlots(GraphQuant)

Arguments

GraphQuant

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

.

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:

Make2DPlots(GraphQuant$mds2d)

Make3DPlots(GraphQuant$mds3d)

Make4DPlots(GraphQuant$mds4d)

Make2DPlots(GraphQuant$pcoa2d)

Make3DPlots(GraphQuant$pcoa3d)

Make4DPlots(GraphQuant$pcoa4d)

Value

This function creates a directory within the current working directory to save the graphical representations. The name of the directory created will reflect the model constructed.

For two dimensional models, plots constructed and saved in the directory are the silhouette plot, estimated model, model showing the estimated optimal clusters and (optional) the estimated model showing true clusters.

Three and four dimensional models create further subdirectories within the created model directory to save HTML files which display the models in the default web browser.

Author(s)

Deepak Nag Ayyala <deepaknagayyala@gmail.com>

See Also

MakePlots2D, MakePlots3D, MakePlots4D


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