zhengxwen / SNPRelate

R package: parallel computing toolset for relatedness and principal component analysis of SNP data (Development version only)
http://www.bioconductor.org/packages/SNPRelate
98 stars 25 forks source link

Simulate IBD for known relationships #19

Open elizeng opened 8 years ago

elizeng commented 8 years ago

Hi,

I am working on a dataset that potentially has related individuals and would like to determine which relatedness analysis is best suited for my dataset. Is there any way to simulate IBD for known relationships using relatedness analyses implemented in SNPRelate, so as to determine which analysis is best for the dataset that I am working with?

Many thanks!

zhengxwen commented 8 years ago

There are many approaches to estimate relatedness. SNPRelate has no simulation function. snpgdsPairIBD() may be useful for you, please see the document of snpgdsPairIBD().