plot_breaklist: Simple plot function for a list of segmentation breakpoints...

Description Usage Arguments

View source: R/consseg_r.R

Description

Simple plot function for a list of segmentation breakpoints or segment tables.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
plot_breaklist(
  blst,
  n,
  add = FALSE,
  length = 0.05,
  angle = 45,
  code = 3,
  col = 1,
  lwd = 2,
  xlab = "position",
  axis1 = TRUE,
  axis2 = TRUE,
  ...
)

Arguments

blst

a vector of breakpoints (output from consensus), a named list of breakpoint vectors, a named list of data.frames with start and end columns, or a segmenTier results object (class(blst)=="segments").

n

total sequence length (max(unlist(blst)) if not provided).

add

add to existing plot.

length

length of the edges of the arrow head (in inches).

angle

angle from the shaft of the arrow to the edge of the arrow head.

code

integer code, determining kind of arrows to be drawn.

col

arrow colors, a single color or a vector for each segmentation.

lwd

arrow line width.

xlab

x-axis label.

axis1

draw x-axis.

axis2

draw y-axis.

...

further arguments to arrows.


Bierinformatik/consseg documentation built on March 18, 2021, 1:33 p.m.