diagramWithCircles {GCDkit} | R Documentation |
Plots any Figaro-compatible template as a background. The size and colours of the plotted circles corresponds to the selected variable.
diagramWithCircles(zaxis = "",diagram = NULL, colour="heat.colors", scaling.factor = 1, bins = NULL,ident = getOption("gcd.ident"),alpha="FF")
zaxis |
Name of the data column to determine the size/colour of the circles. |
diagram |
name of diagram. |
colour |
colour scheme for the circles. |
scaling.factor |
a factor determine the size of the circles. |
bins |
number of intervals for the legend. |
ident |
Logical: should be the individual samples identified? |
alpha |
hexadecimal number indicating the alpha channel (transparency). |
The function 'diagramWithCircles'
can display any single Figaro plot template
that can be plotted by 'plotDiagram'
, such as a classification one.
If no parameter 'zlab'
is given, the user is prompted to specify it.
The variable is selected using the function 'selectColumnLabel
.
In the specification of the variable can be used also an arithmetic expression,
see calcCore
for the correct syntax.
The samples to be plotted can be selected based on combination of three searching
mechanisms (by sample name/label, range or a Boolean condition) - see selectSubset
for details.
The legal colour schemes are:
'"grays","reds","blues","greens","cyans","violets","yellows"
'"cm.colors","heat.colors","terrain.colors","topo.colors","rainbow", "jet.colors"
'.
Optionally, the colours can be made semitransparent, if hexadecimal parameter 'alpha'
is specified for the alpha channel (transparency).
None.
This function IS NOT Figaro-compatible.
Vojtěch Janoušek, vojtech.janousek@geology.cz
plotWithCircles figaro plotDiagram
data(sazava) accessVar("sazava") diagramWithCircles("SiO2",diagram="DebonPQ",colour="jet.colours",alpha="60",bins=7)