An R package facilitating genome-wide analyses