Skip to content

Calculation of trans-cis NPMI ratios from GAM data

License

Notifications You must be signed in to change notification settings

pombo-lab/GAM_trans_cis_ratio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GAM TRANS-CIS RATIOS

Calculation of trans-cis NPMI ratios from GAM data

DOI:10.1038/s41586-021-04081-2

Calculation of trans-cis NPMI ratios per 250 kb bins for Genome Architecture Mapping (GAM) data from mouse oligodendroglia (OLG) from the somatosensory cortex, dopaminergic neurons (DNs) from the midbrain VTA, pyramidal glutamatergic neurons (PGNs) from the hippocampus CA1 and embryonic stem cells (ESCs).
Ratio discretization to percentile per chromosome and calculation of median trans-cis ratio per long gene to identify preferential decrease in ratio of long melting genes.

Required packages

library(tidyverse)
library(ggpubr)
library(lemon)

Available scripts

  • code/calculate_trans_cis_ratio.R:
    Calculates trans-cis NPMI ratios for GAM data genome-wide for all cell-types and replicates.
  • code/plot_trans_cis_raincloud.R:
    Plots trans-cis ratio of long genes in the different cell-types stratified by melting.

Developed and tested with R version 3.6.0 Planting of a Tree
Please get in touch for questions and issues: dominik.szabo at mdc-berlin.de

Please check our manuscript:
Winick-Ng, W., Kukalev, A., Harabula, I., Zea Redondo, L., Szabo, D. et al.:
Cell-type specialization is encoded by specific chromatin topologies

About

Calculation of trans-cis NPMI ratios from GAM data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%