Learn R Programming

ibdreg (version 0.3.8)

plot.linkage.tests: Plot a linkage.tests object

Description

Plot a linkage tests object, which was made within ibdreg. Plot the -log10(pvalue) for pvalues from the score test statistics for linkage with and without covariates, constrained for one-sided tests.

Usage

# S3 method for linkage.tests
plot(x, ...)

Value

nothing is returned

Arguments

x

An object of class linkage.tests

...

additional plot parameters, this method checks for 'title'

See Also

ibdreg, linkage.tests

Examples

Run this code
# reg.out <- ibdreg(formula=~1, ped.id=ped.id, person.id=person.id, 
#                   status=status, status.method="AA", data=data,
#                   ibd.dat=ibd.dat.obj, ibd.var=ibd.var.obj) 

# plot.linkage.tests(reg.out$AA.linkage, title="AA, formula: ~1")

Run the code above in your browser using DataLab