Log-transformed expression values were centered to the mean expression level per sample using a scale(center=T, scale=F) function in R. Genes associated with brain disorders were selected for each brain sample and their average centered expression values were calculated for each brain sample. To ensure that developmental expression trajectories are not dictated by the developmental stage from which Hi-C data was obtained, we used union disorder risk genes. To further verify the developmental trajectories in a cell-type specific fashion, we used neuronal Hi-C for psychiatric disorders and astrocytic Hi-C for degenerative disorders. Prenatal versus postnatal expression values were compared using lm function in R (e.g. for a given disorder, lm(Expression values ~ stages)).