-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
executable file
·65 lines (39 loc) · 2.71 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: "Detection of brain cancer using genome-wide cell-free DNA fragmentation profiles and repeat landscapes"
author: ""
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
html_document:
keep_md: yes
---
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](https://cancer-genomics.github.io/brain_wflow) to view the results without cloning or rebuilding the analysis.
#### Installation Note
The package versions used in the repository are managed by [renv](https://rstudio.github.io/renv/articles/renv.html).
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.
#### Getting Started
To reproduce the figures and tables in Mathios et al.
```{r build, eval=FALSE}
wflow_build("analysis/*.Rmd")
```
```{r publish, eval=FALSE, eval = FALSE}
wflow_publish("analysis/*.Rmd")
```
#### Preprocessing
Following list of READMEs explain the preprocessing steps, ARTEMIS-DELFI training and DECIFER analysis and mention any external data used (if any).
[Preprocessing](code/00-preprocess/README.md)
[rbrain](code/01-rbrain/README.md)
[ARTEMIS-DELFI](code/02-artemis-delfi/README.md)
[DECIFER](code/04-decifer/README.md)
#### Data
The data used in the analysis is deposited with EGA accession number XYZ.