Skip to content

simulations to consider effect of varying prior distribution and variance in single causal variant fine mapping

Notifications You must be signed in to change notification settings

chr1swallace/fm-priors

Repository files navigation

Summary output

click here to see plots + legends

Effect of prior on marginal likelihood and BF

qR.rb -r ./marg-lhood-bf.R

output

Effect of prior on fine mapping

Simulate GWAS summary stats, and analyse under various prior dn or variance, storing PP and PP-rank at the true CV

rm ~/scratch/fm-priors/* ## cleanup

for cvtype in friendly lonely; do
    for nn in 2000 5000 10000; do
        qR.rb -r -y 0-9 ./sim.R --args cvtype=$cvtype NN=$nn
    done
done

## wait

qR.rb -r ./collate.R

Over all simulations: output

Over all simulations with p < 5e-8: output

Generate summary output

Rscript -e 'rmarkdown::render("Readme.Rmd")'
mv Readme.html docs

About

simulations to consider effect of varying prior distribution and variance in single causal variant fine mapping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages