Description Usage Arguments Value Examples
View source: R/rareGWAMA.conditional.single.R
conditional analysis for single variant association test;
1 2 | rareGWAMA.cond.single(score.stat.file, imp.qual.file = NULL, vcf.ref.file,
candidateVar, knownVar, alternative = "two.sided", ...)
|
score.stat.file |
the file names of score statistic files; |
imp.qual.file |
the file names of imputation quality; |
vcf.ref.file |
the file names of the reference panel file; |
candidateVar |
the tabix range; |
knownVar |
known variant; |
alternative |
The alternative hypothesis. Default is two.sided; |
col.impqual |
The column number for the imputation quality score; |
impQual.lb |
The lower bound for the imputation quality. Variants with imputaiton quality less than impQual.lb will be labelled as missing; |
impQualWeight |
Using imputation quality as weight |
rmMultiAllelicSite |
Default is TRUE. Multi-allelic sites will be removed from the analyses if set TRUE, and a variable posMulti will be output; The variant site with multiple alleles can be analyzed using rareGWAMA.single.multiAllele function; |
A list of analysis results;
1 2 3 4 5 6 | study.vec <- c("rareGWAMA/inst/extdata/study1.gz", "rareGWAMA/inst/extdata/study1.R2.gz", "rareGWAMA/inst/extdata/study3.gz");
r2.vec <- c("rareGWAMA/inst/extdata/study1.R2.gz", "rareGWAMA/inst/extdata/study2.R2.gz", "rareGWAMA/inst/extdata/study3.R2.gz");
res <- rareGWAMA.cond.single(score.stat.file= study.vec, imp.qual.file = r2.vec, vcf.ref.file = "rareGWAMA/inst/extdata/1kg_fra_chr1.vcf.gz", "1:10177", "1:57200",
alternative="two.sided",col.impqual=5,impQual.lb=0,impQualWeight=FALSE, weight="Npq+impQ",gc=FALSE,
rmMultiAllelicSite=TRUE);
head(res$res.formatted);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.