ibdreg(formula, status.method, c.scale='nodom', data,
status, ped.id, person.id,
ibd.dat, ibd.var,
subset, weights, na.action,
min.pairs=1, epsilon=1e-5, ...)Another test (iv) is for linkage using all relative pairs. This test imposes constraints on allele sharing for one-sides tests favoring linkage, achieved by constraining IBD allele sharing for pairs as AA > UU > null, and AU < null, where null is the expected IBD sharing without linkage.
Tests (i) - (iv) are performed using quasi-likelihood scores, and their distributions are asymptotically chi-square or mixture chi-square.
Another set of tests (v) are z-scores measuring the departure from expected allele sharing for each pedigree, at each position. These are provided for diagnostic purposes in the linkage.tests results for AA, UU, and AU pairs.
Correlations of relative pairs from the same pedigree are accounted for by a covariance matrix for ibd statistics within pedigrees. This variance-covariance matrix is calculated using results from merlin (with options "--ibd --matrices").
create.ibd.dat,
sim.ibd.var,
exact.ibd.var,
linkage.tests,
linkage.all,
print.ibdreg,
plot.ibdreg## see manual for examples, the data requirements are here:
# make a data.frame with ped.id, person.id, status, and covariates
# make ibd.dat object using create.ibd.dat
# make ibd.var object using create.ibd.var
# call ibdregRun the code above in your browser using DataLab