This function adjusts the B-values based on the LD structure and other parameters. The adjustment is done in subsets, and a plot of observed vs. predicted values is produced for each subset.
adjustB(
b = NULL,
seb = NULL,
LD = NULL,
msize = 100,
overlap = 50,
nrep = 20,
shrink = 0.001,
threshold = 1
)
A list containing the adjusted B-values.
A numeric vector containing the B-values to be adjusted. If NULL (default), no adjustments are made.
A matrix representing the linkage disequilibrium (LD) structure.
An integer specifying the size of the subsets.
An integer specifying the overlap size between consecutive subsets.
A numeric value used for shrinkage. Default is 0.001.
A numeric value specifying the threshold. Default is 1e-8.