Skip to content

Scripts for the WGCNA paper: Schizophrenia risk genes converge into divergent co-expression pathways reflecting brain development across regions and age periods

Notifications You must be signed in to change notification settings

LieberInstitute/Brain_WGCNA

Repository files navigation

Brain_WGCNA

Scripts for the manuscript:

Consensus molecular environment of schizophrenia risk genes in co-expression networks shifting across age and brain regions

"Giulio Pergola et al. ,Consensus molecular environment of schizophrenia risk genes in coexpression networks shifting across age and brain regions.Sci. Adv.9, eade2812(2023).DOI:10.1126/sciadv.ade2812" [https://www.science.org/doi/10.1126/sciadv.ade2812]

Scripts for the "Fixed-windows" and "Sliding-windows" studies (NC samples only):

  • Code1(NC).R: Preprocess tissue rse data for NC samples
  • Code2(NC).R: Remove confounders effect
  • Code3(NC).R: Estimate beta for WGCNA via connectivity match
  • Code4(NC).R: Perform WGCNA to obtain age-parsed and non-parsed networks
  • prepare_WGCNAnetwork_script.R: Combine WGCNA network output (module assignments, connectivity etc) in a single file
  • prepare_OTHERnetwork_script.R: Preprocess and collate network data from various published networks
  • prepare_ALL_WGCNA_network_script.R: Combine WGCNA output from our networks and other previous published networks
  • new_wide_form_data_script.R: Create a combined wide_data_file with WGCNA output from our and other networks, plus genestats, MAGMA stats etc
  • get_gene_module_list script.R: Get a gene_module_list for all networks from the wide_data_file to be used for enrichment analysis
  • Enrichments.online.script.R:
    • Script to run various enrichments on gene_module_list: SCZ, DEGs, DMGs, TWAS, GO, MAGMA, Cell Specificity etc
    • Script to make sankey plots for DLPFC, HP and CN SCZ risk genes
    • Prepare and format data for other visualisations
  • Enrichment Visualisation.online.script.R:
    • Script to plot main enrichment plots for SCZ risk modules for all networks
    • Script to plot GO enrichment plots for SCZ risk modules for all networks
    • Script to plot TF enrichment plots for SCZ risk modules for all networks
    • Script to plot other Pathology enrichment plots for SCZ risk modules for all networks

Scripts for the "MAGMA prediction model":

  • MAGMA_prediction.py: Code to perfrom ML MAGMA prediction for Age-parsed and non-parsed networks

Scripts for the "Cell population enrichment" study:

Scripts for the "Sliding-windows" study:

Scripts for the "Sliding-windows enrichment":

Scripts for the "replication in human iPSC data":

Scripts for the "Consensus environment":

Uncategorized scripts:

Additional links:

  • Zenodo: Interactive Sankey files, wide_form data files, modulewise SCZ enrichment results, preprocessed data files etc
  • NETS@LIBD: Future project updates and general updates of our research group at Lieber Institute for Brain Development will be available here.

For any data or code inquiries please contact Giulio Pergola: [Giulio.Pergola@libd.org] [https://www.libd.org/team/giulio-pergola-phd/]

About

Scripts for the WGCNA paper: Schizophrenia risk genes converge into divergent co-expression pathways reflecting brain development across regions and age periods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published