A shiny server for visualizing rMATS-long results
For the shiny app, the dependencies for rMATS-long are needed as well as the r-shiny and r-bslib packages. The rMATS-long dependencies can be installed to a conda environment by running ../install. Then the additional packages can be installed:
cd rMATS-long
./install
conda activate ./conda_env
conda install -c conda-forge -c bioconda --file ./shiny/conda_requirements.txt
The shiny server can be run when the conda environment is activated
The app will prompt for an rMATS-long output directory. From that directory, it will attempt to find files and directories named like the output from the main rMATS-long README.md examples or like the snakemake workflow output. The required files can also be specified manually
Run the app with: Rscript ./run.R
Then the app can be used with a web browser on the same machine that is running the app with the URL http://localhost:8888/. The shiny documentation has more details: https://shiny.posit.co/r/reference/shiny/latest/runapp
With the app open in a browser, plots of the results can be created and viewed
After running the "Isoform Analysis Example" from the main rMATS-long README.md the output under ../example_out/ can be used
- Initially, the
Datatab is selected - Provide the full path to
/path/to/example_out/rmats_long/in themain-directoryfield - Click the
set-main-directorybutton- Most of the remaining fields in the
Datatab should fill in automatically
- Most of the remaining fields in the
- Click on the
Summarytab - There are sub-tabs showing
- A summary pie plot
- The summary.txt values
- A table of ASM statistical test results
- A table of isoform statistical test results
DDR1is one significant gene in the output- The significant
asm_idis2_0 - The
gene_idisENSG00000204580.14
- The significant
- Click on the
ASMtab - Provide
2_0in theasm-idfield - Click
find-gene-id-for-asmto fill in thegene-idfield - There are sub-tabs showing results
- First, scroll down on the
Isoform abundancesub-tab and clickcreate plot- Creating that plot generates some files needed for the other tabs (like the
colors.tsvfield at the top of theASMtab)
- Creating that plot generates some files needed for the other tabs (like the
- Click on the
Isoform structuresub-tab to see additional plots created along with the abundance plot - Click the
Region within genesub-tab and scroll down and clickcreate plot - Click the
Splicing differencessub-tab and clickcreate table - Click the
Simple splice graphsub-tab and scroll down and clickcreate plot - Click the
Splice graphsub-tab and scroll down and clickcreate plot- This plot could take a long time to create for an ASM with a large number of possible splicing paths