Description Usage Arguments Details Value
Compare summary statistics and PLINK .bim data.frames
1 | comp.ss.bim(ss.df, bim.df, exclude.ambiguous = F)
|
ss.df |
A data.frame of summary statistics |
bim.df |
a data.frame from A PLINK .bim file |
exclude.ambiguous |
should ambiguous SNPs (i.e. A/T or G/C) be excluded |
Both ss.df
and bim.df
must be data.frame
s with exactly
three columns in this order: (1) SNP ids, (2) reference allele, (3) alternative allele
A list with 3 vectors
ss.order |
the order the SNPs in the summary statistics must be rearranged in |
bim.extract |
the SNPs to be extracted from the PLINK bfile, i.e. that are in the summary statistics data.frame |
rev |
A vector of 1 and -1 to facilitate the flipping SNPs effects for SNPs whose reference and alternative alleles are reversely coded between the two data.frames |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.