CollapsABEL (version 0.10.11)

connectSnpPair: Annotate a pair of SNPs in the contrast Manhattan plot

Description

Annotate a pair of SNPs in the contrast Manhattan plot

Usage

connectSnpPair(cplot, snp1, snp2, linetype = "dotted", hjust = 0, text_size = 3)

Arguments

cplot
ggplot object. The contrast Manhattan plot to be annotated.
snp1
character. First SNP.
snp2
character. Second SNP.
linetype
See ggplot2::geom_segment. Default to "dotted".
hjust
See ggplot2::annotate. Default to 0.
text_size
See ggplot2::annotate. Default to 3.

Value

ggplot object.