plotCall: Barplot of Percent Present and Absent Calls for Device

Description Usage Arguments Details Author(s) See Also

Description

Creates a barplot of percent Present/Marginal/Absent calls for the selected device.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plotCall(x,
         beside  = TRUE,
         names   = "namepart",
         col     = c("red","green","blue"),
         legend  = c("P","M","A"),
         ylim    = c(0,100),
         ylab    = "detection call [%]",
         las     = 2,
         dev     = "screen",
         outfile = "CallPlot",
         w       = 800,
         h       = 540,
         ...) 

Arguments

x

object of class CallTreeSet.

beside

logical. If FALSE, the columns of height are portrayed as stacked bars, and if TRUE the columns are portrayed as juxtaposed bars.

names

optional vector of sample names.

col

color for P/M/A bars

legend

legend for the plot, defaults to P/M/A.

ylim

the y limits of the plot.

ylab

a label for the y axis.

las

the style of axis labels.

dev

graphics device to plot to, i.e. one of “screen”, “jpeg”,“png”, “pdf” or “ps”.

outfile

the name of the output file.

w

the width of the device in pixels.

h

the height of the device in pixels.

...

optional arguments to be passed to barplot.

Details

Creates a barplot of percent Present/Marginal/Absent calls.

For names=NULL full column names of slot data will be displayed while for names="namepart" column names will be displayed without name extension. If names is a vector of column names, only these columns will displayed as callplot.

Author(s)

Christian Stratowa

See Also

callplot


xps documentation built on Nov. 8, 2020, 6 p.m.