Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
EPIC_Preprocessing_Pipeline/pipeline_flowchart/pipeline_flowchart.Rmd
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39 lines (37 sloc)
1.87 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
output: | |
pdf_document: default | |
html_document: default | |
--- | |
```{r, include=FALSE} | |
knitr::opts_chunk$set(echo = FALSE) | |
library(tidyverse) | |
library(ggflowchart) | |
library(igraph) | |
library(rlang) | |
``` | |
# General Flowchart for Preprocessing Pipeline | |
```{r, fig.width=8, fig.height=10} | |
data <- tibble::tibble(from = c("Define Data Properties & Locations, | |
Create Directories, Prepare Phenotype Data (Script 1)", | |
"Import Raw DNAm (Script 2)", | |
"Quality Control (Script 3)", | |
"Check Matching Epigenetic Sex (Script 4)", | |
"Samples Exclusion (Script 5)", | |
"Filtering CpGs (Script 6)", | |
"Normalization (Script 7)", | |
"Removal of Outliers & Detection of Batch Effects (Script 8)", | |
"Correction of Technical Batch Effects - Filtered Data (Script 9)"), | |
to = c("Import Raw DNAm (Script 2)", | |
"Quality Control (Script 3)", | |
"Check Matching Epigenetic Sex (Script 4)", | |
"Samples Exclusion (Script 5)", | |
"Filtering CpGs (Script 6)", | |
"Normalization (Script 7)", | |
"Removal of Outliers & Detection of Batch Effects (Script 8)", | |
"Correction of Technical Batch Effects - Filtered Data (Script 9)", | |
"Correction of Technical Batch Effects - Unfiltered Data (Script 10)")) | |
ggflowchart(data, fill = "lightblue", colour = "black", text_colour = "black", text_size = 5, | |
y_nudge = 0.4, x_nudge = 0.2) + | |
theme(plot.title = element_text(size = 20, hjust = 0.5, face = "bold")) | |
``` |