IBD
Constructor function for objects of class IBD
, used
as both the input and output of the IBDcheck
function. This is
not intended to be called by users. Users
preparing data for a call to IBDcheck
should use the wrapper function
new.IBD
, which provides basic checks of the input.
IBD(snp.data, snp.support,subject.support, ibd.study=NULL,
ibd.ur=NULL,ibd.mz=NULL,ibd.po=NULL,ibd.fs=NULL,ibd.hs=NULL,
ibd.co=NULL, ibd.user=NULL, filterparams=NULL,simparams=NULL,call=NULL)
A snp.matrix object containing the genotypes. Rows correspond to subjects and columns correspond to SNPs.
a data frame of SNP information
a data frame of subject information
A data frame of estimated IBD coefficients for study subjects. Columns represent estimated probabilities of 0, 1 and 2 alleles IBD. Rows represent pairs of subjects.
data frame of estimated IBD coefficients for simulated unrelated subjects
data frame of estimated IBD coefficients for simulated monozygotic twins
data frame of estimated IBD coefficients for simulated parent-offspring subjects
data frame of estimated IBD coefficients for simulated full sibling subjects
data frame of estimated IBD coefficients for simulated half sibling subjects
data frame of estimated IBD coefficients for simulated cousins
data frame of estimated IBD coefficients for subjects having a user-defined relationship
a list of data filtering options returned by
filter.control
a list of data simulation options returned by
sim.control
the IBDcheck
call that created the
ibd.*
data frames
An object of class IBD
, which is a list comprised of the
function arguments.
Objects of class IBD
are both the input and output of the
IBDcheck
function.