plotTraces {ultrapolaRplot} | R Documentation |
Plots ultrasound polar coordinate data
Description
Plots extracted segments with means and standard deviation bands calculated through use of polar coordinates.
Usage
plotTraces(rawTraces, polarTraces, interval = 1, mean.lines =
TRUE, points.display = FALSE, palette = c(),
bands.lines = FALSE, bands.fill = TRUE,
legend.position = "topleft", means.styles = c(),
standard.deviation.styles = "l", plot.ticks = FALSE,
plot.labels = FALSE, legend.size = 3, transparency =
0.37, pdf.filename = c(), bands.linewidth = 0.3,
png.filename = c(), legend.linewidth = 5,
means.linewidth = 3, tick.size = 2, maskCategories =
c())
Arguments
rawTraces |
data frame returned from loadTraces() |
polarTraces |
returned from makeTracesPolar() |
bands.fill |
boolean, whether or not to show standard deviation bands |
bands.lines |
boolean, whether or not to show lines on edges of standard deviation bands |
bands.linewidth |
line thickness of standard deviation bands |
interval |
sampling interval, in degrees, for finding intersections with existing traces (default = '1') |
mean.lines |
boolean, whether or not to display mean lines |
means.styles |
array to override default solid line (sequentially in order of categories) |
means.linewidth |
size of mean lines |
standard.deviation.styles |
line type for standard deviation upper and low bands, (default = "l") |
transparency |
transparency of standard deviation bands (default = 0.37) |
palette |
array to override default colour palette |
pdf.filename |
pdf file name, saves in current directory |
png.filename |
png file name, saves in current directory |
plot.labels |
boolean, whether or not to show labels |
plot.ticks |
boolean, whether or not to show tick marks |
tick.size |
size of label scaling on axises |
points.display |
boolean, whether or not to show original annotated points |
labels |
array to override labels |
legend.position |
default "center", with an option of "topleft", "bottomright" |
legend.size |
size of legend (default = 0.6) |
legend.linewidth |
size of displayed legend lines |
maskCategories |
array to override current segment labels |
Value
Returns a plot. User can additionally export plot to a pdf or png.