Learn R Programming

DNAtools (version 0.2-4)

plot.dbcompare: Plots the summary matrix

Description

Plots the summary matrix with counts on y-axis and classification on x-axis.

Usage

# S3 method for dbcompare
plot(x, log = "y", las = 3, xlab = "Match/Partial", ylab = "Counts", ...)

Arguments

x

Summary matrix returned from dbcompare

log

Specifies whether log(Counts) should be plotted (default)

las

Direction of the labels on x-axis. Default is 3 which gives perpendicular labels

xlab

Axis label

ylab

Axis label

...

Other plot options

Value

A plot of the summary matrix. The counts are on log10 scale and the x-axis is labeled by appropriate matching/partially-matching levels.

See Also

dbCompare,print.dbcompare

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  data(dbExample)
  M = dbCompare(dbExample,hit=5)
  plot(M)
  
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab