View source: R/snps_to_condition.R
snps_to_condition | R Documentation |
When running conditional analyses (e.g. GCTA-COJO), this functions automatically identifies SNP to condition on.
snps_to_condition(conditioned_snps, topSNPs, loci)
conditioned_snps |
Which SNPs to conditions on when fine-mapping with (e.g. COJO). |
topSNPs |
A data.frame with the genomic coordinates of the lead SNP
for each locus.
The lead SNP will be used as the center of the window when extracting
subset from the full GWAS/QTL summary statistics file.
Only one SNP per Locus should be included.
At minimum,
|
loci |
Character list of loci in Locus col of |
Vector of SNPs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.