# Research Object Crate for R workflow for RNA-seq analysis in unexplained recurrent pregnancy loss

Original URL: https://workflowhub.eu/workflows/1966/ro_crate?version=2

The bioinformatic workflow presented here enables the analysis of RNA sequencing data obtained from human reproductive tissues in unexplained recurrent pregnancy loss (uRPL) research. This pipeline requires a sample sheet containing the sample information (example_input_data.csv) and gene expression matrices generated using the Salmon tool in the nf-core/rnaseq bioinformatics pipeline (example_count_data.csv). For more information on how to use the nf-core/rnaseq pipeline including the required inputs and expected outputs, please refer to their documentation. The processes used to download publicly available high throughput RNA-seq datasets and generate the Salmon gene expression matrices (e.g. counts files) can be found in our Github repository (also available as a file through WorkflowHub - Data_Preparation.md) alongside documentation showing the expected outputs from this pipeline. The workflow developed during this project was designed with the intent to be used to compare datasets generated using different RNA sequencing methods by looking for concordance in differential expression analysis results, including differentially expressed genes and enriched functional pathways. This workflow can be accessed and used by others to help improve the standardisation and reproducibility of RNA-seq analytical processes, through consistent analysis methods and documentation. This workflow can be split into different sections to complete the following analyses with the main packages used listed (tool versions available in the attached R script) Section 1: Intialising environment and loading required packages and files Section 2: Principal Component Analysis ([PCAtools](https://bioconductor.org/packages/devel/bioc/vignettes/PCAtools/inst/doc/PCAtools.html)) * Section 2.1: Generating PCA objects to be used in Sections 2.2-2.4 ([PCAtools](https://bioconductor.org/packages/devel/bioc/vignettes/PCAtools/inst/doc/PCAtools.html)) * Section 2.2: Principal Component Retention ([PCAtools](https://bioconductor.org/packages/devel/bioc/vignettes/PCAtools/inst/doc/PCAtools.html)) * Section 2.3: Confounding factor identification using Eigencor plots and Pearson's Correlation coefficients ([PCAtools](https://bioconductor.org/packages/devel/bioc/vignettes/PCAtools/inst/doc/PCAtools.html)) * Section 2.4: Generate PCA plots with arrows representing confounding numeric variables ([ggplot2](https://ggplot2.tidyverse.org/index.html)) Section 3: Differential Expression Analysis ([DESeq2](https://bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html)) * Assess concordance in differential expression between datasets ([ggVenn](https://cran.r-project.org/web/packages/ggvenn/index.html)) Section 4: Functional Annotation of KEGG pathways ([clusterProfiler](https://www.bioconductor.org/packages//2.10/bioc/html/clusterProfiler.html), [pathview](https://pathview.r-forge.r-project.org/)) For the most up-to-date versions of the workflow script please check our [GitHub page](https://github.com/bbrown2371/RNAseq-analysis-workflow-for-unexplained-Recurrent-Pregnancy-Loss.git)

Author
License
  Apache-2.0

## Contents

Main Workflow: R workflow for RNA-seq analysis in unexplained recurrent pregnancy loss
Size: 27942 bytes
Main Workflow Diagram: Copy%20of%20RPL_workflow.png
Size: 352777 bytes