TInPosition plotting function which is an interface to prettyGraphs
.
tinGraphs(res, DESIGN = NULL, x_axis = NULL, y_axis = NULL, inference.info = NULL,
color.by.boots = TRUE, boot.cols = c("plum4", "darkseagreen", "firebrick3"),
fi.col = NULL, fi.pch = NULL, fii.col = NULL, fii.pch = NULL,
fj.col = NULL, fj.pch = NULL, col.offset = NULL,
constraints = NULL, xlab = NULL, ylab = NULL, main = NULL,
bootstrapBars = TRUE, correlationPlotter = TRUE,
showHulls = 0.95, biplots = FALSE)
results from TExPosition
A design matrix to apply colors (by pallete selection) to row items
which component should be on the x axis?
which component should be on the y axis?
Inference data as output by TInPosition (of class tinpoOutput).
a boolean. If TRUE, items are colored by bootstrap ratio test. Items larger than critical.value
are colored 'plum4' on the horizontal component, 'darkseagreen' on the vertical component, or 'firebrick3' if the item is significant on both components (to be visualized). If FALSE, the color of the items will be used.
vector of colors: c(horizontal component color, vertical component color, color when item is significant on both)
.
A matrix of colors for the group items. If NULL, colors will be selected.
A matrix of pch values for the group items. If NULL, pch values are all 21.
A matrix of colors for the row items (observations). If NULL, colors will be selected.
A matrix of pch values for the row items (observations). If NULL, pch values are all 21.
A matrix of colors for the column items. If NULL, colors will be selected.
A matrix of pch values for the column items. If NULL, pch values are all 21.
A numeric offset value. Is passed to createColorVectorsByDesign
.
Plot constraints as returned from prettyPlot
. If NULL, constraints are selected.
x axis label
y axis label
main label for the graph window
a boolean. If TRUE (default), bootstrap ratio bar plots will be created.
a boolean. If TRUE (default), a correlation circle plot will be created. Applies to PCA family of methods (CA is excluded for now).
a value between 0 and 1 to make a peeled hull at that percentage. All values outside of 0-1 will not plot any hulls.
a boolean. If FALSE (default), separate plots are made for row items ($fii and $fi) and column items ($fj). If TRUE, row ($fii and $fi) and column ($fj) items will be on the same plot.
tinGraphs is an interface between TInPosition
and prettyGraphs
.
# NOT RUN {
#this is for TExPosition's iris data
data(ep.iris)
data <- ep.iris$data
design <- ep.iris$design
bada.iris <-
tepBADA.inference.battery(
data,DESIGN=design,
make_design_nominal=FALSE,test.iters=50)
tinGraphs(bada.iris,x_axis=1,y_axis=2,biplots=TRUE)
# }
Run the code above in your browser using DataLab