diagramWithCircles {GCDkit}R Documentation

A diagram with circles

Description

Plots any Figaro-compatible template as a background. The size and colours of the plotted circles corresponds to the selected variable.

Usage

  
diagramWithCircles(zaxis = "",diagram = NULL, colour="heat.colors", 
    scaling.factor = 1, bins = NULL,ident = getOption("gcd.ident"),alpha="FF")   

Arguments

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).

Details

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.

plotWithCircles2.png

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).

Value

None.

Warning

This function IS NOT Figaro-compatible.

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

plotWithCircles figaro plotDiagram

Examples

    data(sazava)
    accessVar("sazava")

    diagramWithCircles("SiO2",diagram="DebonPQ",colour="jet.colours",alpha="60",bins=7)

[Package GCDkit version 6.1 Index]