Add lines to a ggplot, indicating position of snps

addlines(summ, alpha = 0.5, size = 0.2, xvar = "position.plot")

Arguments

summ

data.frame generated by guess.summ()

alpha

transparency, default=0.5

size

line width, default=0.2

xvar

name of variable in summ which contains the x coordinates at which vertical lines should be plotted

Value

object that can be added to a ggplot

See also

Other plotting GUESSFM results: ggbed, ggchr, ggld, pp.nsnp, scalepos, signal.plot