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

Description Usage Arguments Value Author(s)

Description

Annotate a pair of SNPs in the contrast Manhattan plot

Usage

1
2
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.

Author(s)

Kaiyin Zhong


CollapsABEL documentation built on May 1, 2019, 7:28 p.m.