Authors: | Komal S Rathi |
---|---|
Contact: | [email protected] |
Organization: | D3B, CHOP |
Status: | This is "work in progress" |
Date: | 2024-11-13 |
Mock app built using R shiny to create tumor vs normal
and pan-cancer
plots to visualize TPM expression.
.
├── R
│ ├── pubTheme.R
│ ├── pan_cancer_plot.R
│ ├── tumor_vs_normal_plot.R
│ └── viewDataTable.R
├── README.rst
├── data
│ ├── efo-mondo-map.tsv
│ ├── ensg-hugo-rmtl-mapping.tsv
│ ├── gene-expression-rsem-tpm-collapsed.rds
│ └── histologies.tsv
├── server.R
├── ui.R
└── www
- R/viewDataTable.R:
DT::datatable
with various add-on, buttons etc - R/pubTheme.R: ggplot2 publication quality themes
- R/pan_cancer_plot.R: function for pan-cancer plots
- R/tumor_vs_normal_plot.R: function for tumor vs normal plots
Input files used are:
- Expression matrix:
data/gene-expression-rsem-tpm-collapsed.rds
- Histologies file:
data/histologies.tsv
- EFO MONDO mapping file:
data/efo-mondo-map.tsv
- Ensembl ID and RMTL mapping file:
data/ensg-hugo-rmtl-mapping.tsv
The input files can be downloaded by cloning this repo and running the download script: https://github.com/PediatricOpenTargets/OpenPedCan-analysis
Two types of output created using this app: one is dynamic (which can be seen on the app as plotly
plots and DT
tables) and the corresponding static version is written to the www/
folder as .png
and .tsv
files.
Note: data/
(input directory) and www/
(output directory) have been added to .gitignore.