ExPosition (version 2.8.23)

epGraphs: epGraphs: ExPosition plotting function

Description

ExPosition plotting function which is an interface to prettyGraphs.

Usage

epGraphs(res, x_axis = 1, y_axis = 2, epPlotInfo = NULL, DESIGN=NULL, 
	fi.col = NULL, fi.pch = NULL, fj.col = NULL, fj.pch = NULL, col.offset = NULL, 
	constraints = NULL, xlab = NULL, ylab = NULL, main = NULL, 
	contributionPlots = TRUE, correlationPlotter = TRUE,
	graphs = TRUE)

Arguments

res

results from ExPosition

x_axis

which component should be on the x axis?

y_axis

which component should be on the y axis?

epPlotInfo

A list ($Plotting.Data) from epGraphs or ExPosition.

DESIGN

A design matrix to apply colors (by pallete selection) to row items

fi.col

A matrix of colors for the row items. If NULL, colors will be selected.

fi.pch

A matrix of pch values for the row items. If NULL, pch values are all 21.

fj.col

A matrix of colors for the column items. If NULL, colors will be selected.

fj.pch

A matrix of pch values for the column items. If NULL, pch values are all 21.

col.offset

A numeric offset value. Is passed to createColorVectorsByDesign.

constraints

Plot constraints as returned from prettyPlot. If NULL, constraints are selected.

xlab

x axis label

ylab

y axis label

main

main label for the graph window

contributionPlots

a boolean. If TRUE (default), contribution bar plots will be created.

correlationPlotter

a boolean. If TRUE (default), a correlation circle plot will be created. Applies to PCA family of methods (CA is excluded for now).

graphs

a boolean. If TRUE, graphs are created. If FALSE, only data associated to plotting (e.g., constraints, colors) are returned.

Value

The following items are bundled inside of $Plotting.Data:

$fi.col

the colors that are associated to the row items ($fi).

$fi.pch

the pch values associated to the row items ($fi).

$fj.col

the colors that are associated to the column items ($fj).

$fj.pch

the pch values associated to the column items ($fj).

$constraints

axis constraints for the plots (determines end points of the plots).

Details

epGraphs is an interface between ExPosition and prettyGraphs.

See Also

prettyGraphs

Examples

Run this code
# NOT RUN {
	#this is for ExPosition's iris data
	data(ep.iris)
	pca.iris.res <- epPCA(ep.iris$data)
	#this will put plotting data into a new variable.
	epGraphs.2.and.3 <- epGraphs(pca.iris.res,x_axis=2,y_axis=3)
# }

Run the code above in your browser using DataLab