plot-hbr-method: Method to visualize reconstructed haplotype-blocks

Description Usage Arguments Details Author(s) See Also

Description

The method visualizes reconstructed haplotype-blocks for a chromosome.

Usage

1
2
3
4
5
## S4 method for signature 'hbr'
plot(x, min.marker = 1, xlab = "Genomic position [Mb]",
  ylab = "Reconstructed haplotype-block", main = "default", col = "black",
  lwd = 4, hline = 10, indicate_shared = F, addPoints = F,
  hbr_plot = NULL, ...)

Arguments

x

object of class hbr containing the results of reconstructed haplotype blocks for visualization.

min.marker

numeric specifying the minimum number of markers a haplotype-block should contain in order to be visualized.

xlab

Label of the x-axis with the default value 'Genomic position [MB]'.

ylab

Label of the y-axis with the default value 'Reconstructe haplotype-block'.

main

Plot title (default: "Chromosome XX").

col

Color of the lines representing the haplotype-blocks (default: "black").

lwd

Line width of the lines representing the haplotype-blocks (default: 4).

hline

Distance between horizontal lines plotted for orientation (default: 10).

indicate_shared

logical value specifying if "spurious" markers that are identical between pairs of haplotype-blocks should be indicated. This function is usefull for inspecting results and deciding whether all identified blocks are all independent or maybe reconstruction parameters should be changed.

addPoints

logical value indicating if for each reconstructed block markers should additionally be indicated.

hbr_plot

boolean vector of length the number of reconstructed bocks indicating which ones should be plotted

...

arguments of the generic plot method.

Details

The method operates on hbr objects and visualizes location of reconstructed haplotype-blocks with respect to its genomic position.

Author(s)

Susanne U. Franssen

See Also

hbr ex_dat summary.hbr plot_cluster_trajectories plot_marker_trajectories map rev_map markers plot_hbr_freq inspect_window inspect_window_PCA inspect_window_avLink inspect_window_dbScannumber_hbr


haploReconstruct documentation built on May 2, 2019, 1:46 p.m.