plot.haplotypes: Plot the results of haplotype reconstruction

Description Usage Arguments Details Value

Description

Plot the results of haplotype reconstruction

Usage

1
2
## S3 method for class 'haplotypes'
plot(x, space = 0.1, ...)

Arguments

x

a dataframe containing the results of reconstruct.haps()

space

numeric scalar; how much buffer to add between adjacent chromosomes

...

ignored

Details

The input dataframe is assumed to have the following columns: .id, chr, start, end, hap1 and hap2. Since the result is a ggplot, it can be futher decorated/modified at will.

Value

A ggplot object with haplotype mosaics arranged in a grid layout


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.