Usage
"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.