Arguments
n1
Number of samples in group 1 (controls)
n2
Number of samples in group 2 (cases)
sd
Within group standard deviation to be used when simulating data
l
The number of genomic locations for which to simulate data
spacing
The average spacing between locations. The actual
locations have a random component so the actual spacing will be
non-uniform
clusterSpacing
The spacing between clusters. (Specifically, the
spacing between the first location in each cluster.)
numClusters
Divide the genomic locations into this number of
clusters, each of which will contain locations spaced spacing
bp apart.