Description Usage Arguments Value Author(s) See Also Examples
Load the association results from an RData, RDS or GDS file.
1 | seqSAIGE_LoadPval(fn, varnm=NULL, index=NULL, verbose=TRUE)
|
fn |
RData, RDS or GDS file names, merging datasets if multiple files |
varnm |
NULL, or a character vector to include the column names; e.g.,
|
index |
NULL, or a logical/numeric vector for a set of rows |
verbose |
if |
Return a data.frame
including p-values.
Xiuwen Zheng
seqFitNullGLMM_SPA
, seqAssocGLMM_SPA
1 2 3 4 5 6 7 8 9 | (fn <- system.file("unitTests", "saige_pval.rds", package="SAIGEgds"))
pval <- seqSAIGE_LoadPval(fn)
names(pval)
# [1] "id" "chr" "pos" "rs.id" "ref"
# [6] "alt" "AF.alt" "AC.alt" "num" "beta"
# [11] "SE" "pval" "pval.noadj" "converged"
head(pval)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.