Scale SNP positions in a summ object in order to be plotted by signal.plot and friends

scalepos(summ, position = "position", prange = NULL)

Arguments

summ

data.frame generated by guess.summ()

position

character string: name of the column used for SNP position, default is "position"

Value

summ data.frame with additional columns, x.scale, xmin.scale, xmax.scale

See also

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