Skip to content

bcbio/rnaseq-reports

Repository files navigation

Templates with revision indicates that the components or processes have undergone comprehensive parameterization and testing.

Templates with revision indicates that the components or processes are currently being tested. There is some test data available, but there are parameters that need to be set up manually within the code.

Templates with revision indicates that the components or processes are not fully tested. There is no test data available, parameters need to be set up manually within the code, and specific code changes are required based on the data used.

Guidelines for RNAseq downstream analysis

  • Set the working directory to the directory containing this README. We recommend using a Project in Rstudio.
  • Use install_dependencies.R to install all packages used in these reports.

Run data with nf-core rnaseq

These templates assume that the raw data has been processed by nf-core/rnaseq.

The nf-core/rnaseq documentation describes a samplesheet.csv. We recommend using this samplesheet.csv as a metadata or coldata file when applicable. This CSV can contain additional columns of relevant information even if these columns are not required or used by nf-core/rnaseq.

Quick Start

With Rstudio

source(install_depedencies.R)
quarto("quality_assessment.md", quiet = TRUE)

Downstream analysis

Before using any template:

  1. Modify information.R with the right information. You can use this file with any template to include the project/analysis information.
  2. Modify 00_params/params.R with the locations of select files/folders from the output of nf-core/rnaseq. These nf-core outputs will become inputs to various templates.
  3. Modify the YAML header of the Rmd files to choose the right parameters for that report.

Additional useful info:

  • params*example.R are files containing parameters pointing to a small, simple dataset that can be used to test the report code and see how the fully rendered report looks.
  • render.R is an example of code to render a report while specifying parameters at the time of rendering. This can be used to render a report multiple times using multiple sets of parameters without duplicating the report code.

This is a report template that uses as input the nf-core/rnaseq outputs specified in 00_params/params.R. It also uses helper functions defined in 00_libs/load_data.R. This template examines:

On the YAML header file of the qmd you can specify some parameters or just set them up in the second chunk of code of the template.

  • read metrics
  • sample similarity analysis (PCA and hierarchical clustering)
  • covariates analysis

This is a report template for comparison between two groups. It supports multiple contrasts. Like above, it uses as input the nf-core/rnaseq outputs specified in 00_params/params.R. It also uses helper functions defined in 00_libs/load_data.R and 00_libs/FA.R.

On the YAML header file of the Rmd you can specify some parameters or just set them up in the second chunk of code of the template.

This template has examples of:

  • subsetting data
  • two groups comparison
  • volcano plot
  • MA plot
  • Pathway analysis: Over-Representation Analysis and Gene-Set-Enrichment Analysis
  • Tables

3. Comparative analysis

  • Pair-wise-comparison-analysis shows an example on how to compare two differential expression analyses generated using the DEG template.
  • Intersections shows an example on how to compare and find intersections between multiple differential expression analyses generated using the DEG template.

4. Functional analysis

5. Gene pattern analysis 👀DEGpattern 👀WGCNA

  • WGCNA shows an example on how to use the WGCNA package to find gene modules in gene expression data.
  • DEGpattern shows an example of how to cluster a set of genes across conditions and time points to identify specific profiles.

About

code templates and training materials to perform downs-tream analysis from nf-core RNAseq pipelines

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7