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.
- 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.
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
.
source(install_depedencies.R)
quarto("quality_assessment.md", quiet = TRUE)
Before using any template:
- Modify information.R with the right information. You can use this file with any template to include the project/analysis information.
- 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.
- Modify the
YAML
header of theRmd
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
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.
GSVA shows an example on how to use GSVA package for estimating variation of gene set enrichment through the samples of a expression data set
Nonmodel_Organism_Pathway_Analysis shows an example of how to run Gene Ontology over-representation, KEGG over-representation, and KEGG gene set enrichment analysis (GSEA) for non-model organisms using data from Uniprot. Modify the paths in params_nonmodel_org_pathways.R to load the correct input files.
Immune-deconvolution shows an example of how to run immune cell type deconvolution. Modify the paths in params_immune_deconv.R to load the correct input files.
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.