addlines.RdAdd lines to a ggplot, indicating position of snps
addlines(summ, alpha = 0.5, size = 0.2, xvar = "position.plot")
| summ | data.frame generated by |
|---|---|
| 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 |
object that can be added to a ggplot