Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Add fig1 summary to README (#649)
Browse files Browse the repository at this point in the history
* Add figure 1 summary to `README` file

- change script to generate a png figure instead of pdf figure to be consistent with the other figures in `pngs` directory and for linking purposes to the manuscript

* remove pdf figure

* update comment

* add more detail to notes field in fig1 summary
  • Loading branch information
cbethell authored Mar 26, 2020
1 parent b035b11 commit 4f05a07
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions figures/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ However, we list information about the resources, intermediate steps, and [PBTA

| Figure | Individual script | Notes on requirements | Linked analysis modules | PBTA data files consumed |
|--------|--------|------------------|-------------------------|-----------------------------|
| Figure 1 | [scripts/fig1-sample-distribution.R`](./scripts/fig1-sample-distribution.R) | No high RAM requirements | [`sample-distribution-analysis`](https://github.com/AlexsLemonade/OpenPBTA-analysis/tree/master/analyses/sample-distribution-analysis) | `pbta-histologies.tsv` |
| Figure 2 | [scripts/fig2-mutational-landscape.R`](./scripts/fig2-mutational-landscape.R) | ~128MB of RAM are needed due to the run_caller_consensus_analysis-pbta.sh handling of large MAF files|[`snv-callers`](https://github.com/AlexsLemonade/OpenPBTA-analysis/tree/master/analyses/snv-callers) <br> [`mutational-signatures`](https://github.com/AlexsLemonade/OpenPBTA-analysis/tree/master/analyses/mutational-signatures) | `pbta-snv-lancet.vep.maf.gz` <br> `pbta-snv-mutect2.vep.maf.gz` <br> `pbta-snv-strelka2.vep.maf.gz` <br> `pbta-snv-vardict.vep.maf.gz` <br> `tcga-snv-lancet.vep.maf.gz` <br> `tcga-snv-mutect2.vep.maf.gz` <br> `tcga-snv-strelka2.vep.maf.gz` |

## Color Palette Usage
Expand Down
Binary file removed figures/pngs/fig1-openpbta-distribution.pdf
Binary file not shown.
Binary file added figures/pngs/fig1-openpbta-distribution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions figures/scripts/fig1-sample-distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ combined_plot <- treemap + project_features_plot +
axis.text.x = element_text(size = 9),
axis.text.y = element_text(size = 9))

# Save to PDF
ggplot2::ggsave(file.path(output_dir, "fig1-openpbta-distribution.pdf"),
# Save to PNG
ggplot2::ggsave(file.path(output_dir, "fig1-openpbta-distribution.png"),
width = 12, height = 8,
units = "in"
)

0 comments on commit 4f05a07

Please sign in to comment.