The results from the simulations, which were run
on a dedicated HPC cluster, are stored in the results folder.
The source code for the actual paper, including figures,
is found in paper/
.
The results from our paper were run through a singularity container. Check the releases for pre-built singularity containers that you can download and use.
To reproduce the results, always use the singularity container. To run an experiment from the singularity container, call
singularity run --bind results:/Project/results container.sif <script>
where <script>
should be a name of a script in the
experiments folder, such as experiments/simulateddata.R
.
If you want to re-build the singularity container from scratch (or simply want to clone the repo to your local drive), you can do so via the following steps.
shell
git clone git@github.com:jolars/LookAheadScreening.git
shell
cd LookAheadScreening
sudo singularity build container.sif Singularity
Then proceed as in Reproducing the Results to run the experiments.
Alternatively, you may also reproduce the results by cloning this repository and starting R in the root directory of this folder (which will activate the renv repository) and then run
renv::restore()
to restore the project library. Then build the R package (see below) and run the simulations directly by running the scripts in the experiments folder. This is not recommended, however, since it, unlike the Singularity container approach, does not exactly reproduce the software environment used when these simulations where originally run and may result in discrepancies due to differences in for instance operating systems, compilers, and BLAS/LAPACK implementations.
If you want to build and experiment with the package, you can do so by calling
R CMD INSTALL .
provided you have cd
ed to the root folder of this repository. First
ensure, however, that you have enabled the renv project library by calling
renv::restore()
(see the section above).
The datasets used in these simulations are stored in the data folder.
Scripts to retrieve these datasets from their original
sources can be found in data-raw/
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.