Learn R Programming

DNAtools (version 0.1-8)

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 class '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.

Details

Plots the summary matrix

See Also

dbCompare,print.dbcompare

Examples

Run this code
data(dbExample)
  M = dbCompare(dbExample,hit=5)
  plot(M)

Run the code above in your browser using DataLab