COJO_run | R Documentation |
Run GCTA-COJO.
COJO_run( gcta_path, bfile, cojo_slct = TRUE, cojo_cond = TRUE, cojo_joint = FALSE, conditioned_snps = NULL, prefix = "cojo", cojo_dir, cojo_file = file.path(cojo_dir, paste0(prefix, ".file.ma")), exclude = file.path(cojo_dir, "excluded_snps.txt"), verbose = TRUE, ... )
gcta_path |
Path to the GCTA-COJO executable. |
bfile |
Input PLINK binary PED files, e.g. test.fam, test.bim and test.bed (see PLINK user manual for details). |
cojo_slct |
Perform a stepwise model selection procedure to select independently associated SNPs. Results will be saved in a *.jma file with additional file *.jma.ldr showing the LD correlations between the SNPs. |
cojo_cond |
Perform association analysis of the included SNPs conditional on the given list of SNPs. Results will be saved in a *.cma. The conditional SNP effects (i.e. bC) will be labelled as "NA" if the multivariate correlation between the SNP in question and all the covariate SNPs is > 0.9. |
cojo_joint |
Fit all the included SNPs to estimate their joint effects without model selection. Results will be saved in a *.jma file with additional file *.jma.ldr showing the LD correlations between the SNPs. |
conditioned_snps |
Which SNPs to conditions on when fine-mapping with (e.g. COJO). |
prefix |
Prefix to use for file names. |
cojo_dir |
Directory to store results in. |
cojo_file |
Input the summary-level statistics from a meta-analysis GWAS (or a single GWAS). |
exclude |
Specify a list of SNPs to be excluded from the analysis. |
verbose |
Print messages. |
... |
Arguments passed on to
|
Input and output file paths.
Other COJO:
COJO_locus_subdir()
,
COJO_process_results()
,
COJO()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.