plotAligns: Plot alignments

plotAlignsR Documentation

Plot alignments

Description

Plot alignments of several queries on the same reference.

Usage

plotAligns(
  coords,
  main = "Alignments",
  xlab = "reference",
  xlim = NULL,
  col = "black"
)

Arguments

coords

data.frame with at least three columns, "start", "end" and "names"

main

main title

xlab

label of the x-axis

xlim

x-axis limits

col

segment color(s)

Value

nothing

Author(s)

Timothee Flutre

See Also

plotGRanges

Examples

## Not run: coords <- data.frame(start=c(2, 21, 29, 50),
                     end=c(10, 25, 45, 53),
                     names=c("seq1", "seq2", "seq2", "seq3"),
                     stringsAsFactors=FALSE)
par(mar=c(4, 7, 3, 1))
plotAligns(coords, xlab="chr1", col=c(1, 1, 2, 1))

## End(Not run)

timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.