Description Usage Arguments Details Value
IBD Summary Table
1 | getConditionSNP(genotypes, snp.ld, maximum.ld.r2)
|
genotypes |
A data frame containing genotype information for a set of SNPs.
See |
snp.ld |
A data frame generated from PLINK containing information on LD between pairs of SNPs (A and B). This data frame contains exactly 7 columns of informations:
where each row contains the LD information for a single pair of SNPs. The data frame should contain the header
|
maximum.ld.r2 |
A numeric value denoting the maximum linkage disequilibrium R2 value allowed between pairs of SNPs. |
Extracts the SNP with the largest LD with the current SNP and returns this as the condition SNP
A data frame containing columns
Chromosome (type numeric
or integer
)
SNP identifier (type character
)
Genetic map position (type numeric
or integer
)
Base-pair position (type numeric
or integer
)
Numeric SNP identifier (type numeric
or integer
)
Numeric condition SNP identifier (type numeric
or integer
)
with columns headed chr, snp_id, pos_M, pos_bp, marker.id
and cond.snp.id
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.