title | author | date | output | ||||
---|---|---|---|---|---|---|---|
Detection of brain cancer using genome-wide cell-free DNA fragmentation profiles and repeat landscapes |
09 September, 2024 |
|
The current repository contains the analysis source code for the manuscript on brain cancer detection using genome-wide cell-free DNA by Mathios et al. It is structured following the workflowr framework, where it can be built to generate report pages including all the figures and code.
Here is an overview of the directory structure:
-
analysis: This directory includes analysis scripts in Rmarkdown format that can be run to generate the paper figures.
-
code: This directory includes the code for training and evaluating the ARTEMIS-DELFI model, and performing the DECIFER analyis.
-
data: This path includes the raw data used as input to the analysis performed in the study.
-
docs: The html reports in this directory are generated by compiling the Rmarkdown files in the analysis directory.
-
output: This directory includes the results from training the ARTEMIS-DELFI model, and running the decifer analysis as R objects or text files.
The docs
directory includes index.html, which contains links to the code and figures from the manuscript. You need to clone this repository and open this file to view it on your browser or
you can use this link to view the results without cloning or rebuilding the analysis.
The package versions used in the repository are managed by renv.
After cloning the repo and starting an R session in the project directory, renv will be downloaded and installed.
renv will print any conflicts between the installed package versions and the renv lock file.
Follow the suggestions printed to install the missing packages. The renv::status()
function can be used to identify version conflicts between the repository and the installed packages,
while the renv::restore()
function can be used to restore the versions used in the repository.
To reproduce the figures and tables in Mathios et al.
wflow_build("analysis/*.Rmd")
wflow_publish("analysis/*.Rmd")
Following list of READMEs explain the preprocessing steps, ARTEMIS-DELFI training and DECIFER analysis and mention any external data used (if any).
The data used in the analysis is deposited with EGA accession number XYZ.