plotGraph {IFC} | R Documentation |
Plot and Stats Computation for IFC Graph
Description
Computes plot and stats from a IFC graph
Usage
plotGraph(
obj,
graph,
draw = FALSE,
stats_print = draw,
color_mode = c("white", "black")[1],
add_key = "panel",
precision = c("light", "full")[1],
trunc_labels = 38,
trans = "asinh",
bin,
viewport = "ideas",
backend = "lattice",
...
)
Arguments
obj |
an 'IFC_data' object extracted with features extracted. |
graph |
a graph from 'obj' or a list that can be coerced by |
draw |
whether to draw plot or not. Default is FALSE. |
stats_print |
whether to print stats or not. Default is given by 'draw' argument. |
color_mode |
whether to extract colors from 'obj' in white or black mode. Default is "white". |
add_key |
whether to draw a "global" key under title or in the first "panel" or "both". Default is "panel". |
precision |
when graphs is a 2D scatter with population overlay, this argument controls amount of information displayed. Default is "light". |
trunc_labels |
maximum number of characters to display for labels. Default is 38. |
trans |
the name of a transformation function for density graphs. If missing the default, the BasePop[[1]]$densitytrans, if any, will be retrieved, otherwise "asinh" will be used. |
bin |
number of bin used for histogram / density. Default is missing. |
viewport |
either "ideas", "data" or "max" defining limits used for the graph. Default is "ideas". |
backend |
backend used for drawing. Allowed are "lattice", "base", "raster", "raster-edge", "raster-hybrid". Default is "lattice". |
... |
other arguments to be passed. |
Value
it invisibly returns a list whose members are:
-stats, a table of statistics computed for the graph, if 'stats_print' was TRUE,
-input, a list with input parameters.