Description Usage Arguments Value Note Author(s) References See Also Examples
pair.result.ld.snp.Rd
calculates the pairwise D', $r^2$, LOD of
a pair of specified SNPs in a snp.matrix
object. This is used
mainly for debugging.
1 | pair.result.ld.snp(snpdata, loc.snpA, loc.snpB)
|
snpdata |
An object of |
loc.snpA |
index of the first snp; should be between 1 and N |
loc.snpB |
index of the second snp; should be between 1 and N |
Returns nothing. Results are displayed in stdout/console.
Not really recommended for daily usage; the result isn't saved anywhere and this routine is primarily for debugging the details and correctness of the calculation.
Hin-Tak Leung htl10@users.sourceforge.net
Clayton, D.G. and Leung, Hin-Tak (2007) An R package for analysis of
whole-genome association studies.
Human Heredity 64:45-51.
GSL (GNU Scientific Library) http://www.gnu.org/software/gsl/
1 2 | data(testdata)
pair.result.ld.snp(Autosomes, 1, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.