glmm.score.meta | R Documentation |
Use output files from GLMM based score tests to perform meta-analysis.
glmm.score.meta(files, outfile, SNP = rep("SNP", length(files)),
A1 = rep("A1", length(files)), A2 = rep("A2", length(files)))
files |
a vector of input file names. The input files should be the output files of |
outfile |
the output file name. |
SNP |
a character vector of SNP column names in each input file. The length and order must match the length and order of |
A1 |
a character vector of allele 1 column names in each input file. The length and order must match the length and order of |
A2 |
a character vector of allele 2 column names in each input file. The length and order must match the length and order of |
a data frame containing the following:
SNP |
SNP name. |
A1 |
allele 1. |
A2 |
allele 2. |
N |
total sample size. |
AF |
effect allele frequency (user-defined: can be either allele 1 or allele 2). |
SCORE |
the summary score of the effect allele. |
VAR |
the variance of the summary score. |
PVAL |
meta-analysis p-value. |
Han Chen
glmm.score
infile1 <- system.file("extdata", "meta1.txt", package = "GMMAT")
infile2 <- system.file("extdata", "meta2.txt", package = "GMMAT")
infile3 <- system.file("extdata", "meta3.txt", package = "GMMAT")
outfile <- tempfile()
glmm.score.meta(files = c(infile1, infile2, infile3), outfile = outfile,
SNP = rep("SNP", 3), A1 = rep("A1", 3), A2 = rep("A2", 3))
unlink(outfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.