Last updated: 2019-11-15

Checks: 5 1

Knit directory: mr-ash-workflow/

This reproducible R Markdown analysis was created with workflowr (version 1.3.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20191007) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility. The version displayed above was the version of the Git repository at the time these results were generated.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Untracked files:
    Untracked:  .DS_Store
    Untracked:  .gitignore
    Untracked:  PointNormal_Sparsity0_without_mrash.pdf
    Untracked:  PointNormal_Sparsity2_without_mrash.pdf
    Untracked:  analysis/ETA_1_lambda.dat
    Untracked:  analysis/ETA_1_parBayesB.dat
    Untracked:  analysis/mu.dat
    Untracked:  analysis/varE.dat
    Untracked:  figures/
    Untracked:  results/highdimdiffnpnew.RDS
    Untracked:  results/highdimresults.RDS
    Untracked:  results/updateordernew1.RDS
    Untracked:  results/updateordernew2.RDS

Unstaged changes:
    Modified:   ETA_1_lambda.dat
    Modified:   ETA_1_parBayesB.dat
    Modified:   MR.ASH.Rmd
    Deleted:    PointNormal_Sparsity0.pdf
    Modified:   PointNormal_Sparsity1.pdf
    Deleted:    PointNormal_Sparsity2.pdf
    Modified:   PointNormal_Sparsity3.pdf
    Modified:   analysis/Plots_for_paper.Rmd
    Modified:   analysis/Result11_UpdateOrder.Rmd
    Modified:   analysis/Result35_CrossValidation.Rmd
    Deleted:    analysis/figure4_paper.pdf
    Deleted:    analysis/figure5_paper.pdf
    Deleted:    figure4_paper.pdf
    Deleted:    figure5_paper.pdf
    Modified:   mu.dat
    Modified:   varE.dat

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the R Markdown and HTML files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view them.

File Version Author Date Message
Rmd 5acb33b Youngseok Kim 2019-11-06 update Plots_for_paper.Rmd
html 5acb33b Youngseok Kim 2019-11-06 update Plots_for_paper.Rmd
Rmd 952dc96 Youngseok Kim 2019-11-06 update sim_wrapper.R
Rmd 035b746 Youngseok Kim 2019-11-04 update figures
html 1cc24af Youngseok Kim 2019-10-31 Build site.
Rmd 60cee04 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html 7583dbf Youngseok Kim 2019-10-31 Build site.
Rmd 7a3e682 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html d1401c1 Youngseok Kim 2019-10-31 Build site.
Rmd ebfcea0 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html e145090 Youngseok Kim 2019-10-31 Build site.
Rmd a2a2df4 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html a535b75 Youngseok Kim 2019-10-31 Build site.
html 436e305 Youngseok Kim 2019-10-31 Build site.
Rmd 9352593 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html d901e44 Youngseok Kim 2019-10-31 Build site.
Rmd 6e3d849 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html cb1d50d Youngseok Kim 2019-10-31 Build site.
Rmd 5d383c5 Youngseok Kim 2019-10-31 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html 6672690 Youngseok Kim 2019-10-23 Build site.
Rmd 98f8b99 Youngseok Kim 2019-10-23 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html 380a854 Youngseok Kim 2019-10-23 Build site.
Rmd 7d9e6ec Youngseok Kim 2019-10-23 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html 5e5d9a1 Youngseok Kim 2019-10-23 Build site.
html fabe6bc Youngseok Kim 2019-10-23 Build site.
Rmd 0bf8aa6 Youngseok Kim 2019-10-23 wflow_publish(“analysis/Plots_for_paper.Rmd”)
html 7d6c1c8 Youngseok 2019-10-21 Build site.
html 79e1aab Youngseok 2019-10-17 Build site.
html fd5131c Youngseok 2019-10-15 Build site.
Rmd 1e3484c Youngseok 2019-10-14 update for experiment with different p
html 1e3484c Youngseok 2019-10-14 update for experiment with different p

Introduction

This .Rmd documentation is to reproduce figures in the paper/manuscript.

library(Matrix); library(ggplot2); library(cowplot); library(susieR); library(BGLR);
library(glmnet); library(mr.ash.alpha); library(ncvreg); library(L0Learn); library(varbvs);
standardize = FALSE
source('code/method_wrapper.R')
source('code/sim_wrapper.R')