Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.55 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.55 KB

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