This repository contains code for building networks from B.rapa RIL RNAseq data described in Baker et al, 2019
I have taken two approaches: using mutual ranks and using WGCNA.
The main scripts are the .RMD files.
00_Annotation.Rmdblast to annotate B. rapa genes based on Arabidopsis homologs.01_Process Counts.Rmdstarts from RNAseq counts, normalizes and voom transforms in preparation for network building.02_MR Clustering UN.RmdBuilds mutual rank networks centered on traits of interest03_QTL_Annotation_MR_Genes.Rmdlooks for overlaps between network genes and QTL04_MR_eQTL_Overlap.Rmdmaps eQTL for the MR genes and then looks for overlap between those eQTL and trait QTL05_WGCNA_UN.Rmdbuild WGCNA networks05b_WGCNA_UN_multi.Rmdtesting different parameters on WGCNA. Also repeatability.06_get_eigengene_QTL.Rmdmaps QTL for the WGCNA eigen genes (cluster centers)07_analyze_eigengene_QTL.Rmd08_eigen_gene_module_correlation.RmdFurther examining eigen genes and modules09_Bel1_SNPs.RmdLook for SNPs in Bel1 gene10_MR_SNPs.Rmdfind SNPs in MR genes.