generated from d3b-center/d3b-bixu-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# BRAF fusions and survival by cluster | ||
|
||
Module authors: Ryan Corbett (@rjcorb), Jo Lynne Rokita (@jharenza) | ||
|
||
The purpose of this module is to assess survival in imaging clusters +/- BRAF fusion type | ||
|
||
## Usage | ||
### script to run analysis | ||
<br>**Run shell script to make final tables to be used for plotting below** | ||
``` | ||
bash run-analysis.sh | ||
``` | ||
Input files: | ||
``` | ||
../../data/fusion-dgd.tsv.gz | ||
../../data/histologies.tsv | ||
20231003_merged_imaging_clustering_risk_stratification.xlsx | ||
imaging_clustering_cohort.csv | ||
``` | ||
|
||
## Folder content | ||
* `run-analysis.sh` shell script to run analysis | ||
* `01-fusion-breakpoints-by-imaging-cluster.Rmd` Assess prevalence of BRAF fusion by cluster | ||
* `02-imaging-cluster-survival.Rmd` Assess survival based on imaging cluster and/or BRAF fusion type | ||
|
||
## Directory structure | ||
``` | ||
. | ||
├── 01-fusion-breakpoints-by-imaging-cluster.Rmd | ||
├── 01-fusion-breakpoints-by-imaging-cluster.html | ||
├── 02-imaging-cluster-survival.Rmd | ||
├── 02-imaging-cluster-survival.html | ||
├── README.md | ||
├── input | ||
│ ├── 20231003_merged_imaging_clustering_risk_stratification.xlsx | ||
│ └── imaging_clustering_cohort.csv | ||
├── plots | ||
│ ├── breakpoint-group-by-cluster-ht.pdf | ||
│ ├── breakpoint-type-by-cluster-ht.pdf | ||
│ ├── imaging_forest_efs_braf_add_resection_cluster.pdf | ||
│ ├── imaging_forest_efs_braf_add_resection_cluster_group.pdf | ||
│ ├── imaging_forest_efs_braf_add_resection_cluster_type.pdf | ||
│ ├── imaging_forest_efs_int_resection_fusion_cluster.pdf | ||
│ ├── imaging_forest_efs_int_resection_subtype_cluster.pdf | ||
│ ├── imaging_forest_efs_nonbraf_add_resection_cluster.pdf | ||
│ ├── km_efs_imaging_braf_breakpoint_group.pdf | ||
│ ├── km_efs_imaging_braf_breakpoint_type.pdf | ||
│ ├── km_efs_imaging_braf_cluster.pdf | ||
│ ├── km_efs_imaging_braf_molecular_subtype.pdf | ||
│ ├── km_efs_imaging_cluster.pdf | ||
│ └── km_efs_imaging_nonbraf_cluster.pdf | ||
├── results | ||
│ ├── braf-fusion-breakpoints-by-patient.tsv | ||
│ ├── coxph_imaging_braf_efs_add_resection_cluster.RDS | ||
│ ├── coxph_imaging_efs_int_resection_fusion_cluster.RDS | ||
│ ├── coxph_imaging_efs_int_resection_subtype_cluster.RDS | ||
│ ├── coxph_imaging_nonbraf_efs_add_resection_cluster.RDS | ||
│ ├── coxph_imaging_nonbraf_efs_add_resection_cluster_breakpoint_group.RDS | ||
│ ├── coxph_imaging_nonbraf_efs_add_resection_cluster_breakpoint_type.RDS | ||
│ ├── imaging_clusters_plus_subtypes_breakpoints.tsv | ||
│ ├── imaging_forest_efs_braf_add_resection_cluster.pdf | ||
│ ├── imaging_forest_efs_braf_add_resection_cluster_type.pdf | ||
│ ├── imaging_forest_efs_int_resection_fusion_cluster.pdf | ||
│ ├── imaging_forest_efs_nonbraf_add_resection_cluster.pdf | ||
│ ├── lgg-braf-fusion-common-breakpoint-freq-image-clusters.tsv | ||
│ └── lgg-braf-fusion-common-breakpoint-type-image-clusters.tsv | ||
├── run-analysis.sh | ||
└── util | ||
├── heatmap_function.R | ||
└── survival_models_interaction.R | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -o pipefail | ||
|
||
# run breakpoint by imaging cluster | ||
Rscript -e "rmarkdown::render('01-fusion-breakpoints-by-imaging-cluster.Rmd')" | ||
|
||
# run survival by imaging cluster | ||
Rscript -e "rmarkdown::render('02-imaging-cluster-survival.Rmd')" |