Code in this directory can be run as follows:

## Co-expression enrichment analysis of dnLoF-ASD and dnMis-Epi genes at specific stages of NPCs by downsampling.

source("calculate_score_NPC.R")

source("calculate_downsample_NPC.R")

source("plot_downsample_NPC.R")

## Co-expression enrichment analysis of dnLoF-ASD and dnMis-Epi genes at specific stages of excitatory neurons by downsampling.

source("calculate_score_Ex.R")

source("calculate_downsample_Ex.R")

source("plot_downsample_Ex.R")

## Co-expression enrichment analysis of dnLoF-ASD and dnMis-Epi genes at specific stages of interneurons by downsampling.

source("calculate_score_In.R")

source("calculate_downsample_In.R")

source("plot_downsample_In.R")

## Spearmans correlation analysis of dnLoF-ASD and dnMis-Epi genes at specific stages of NPCs by downsampling.

source("calculate_cor_NPC.R")

source("calculate_cor_NPC_1.R")

source("plot_cor_NPC.R")

## Spearmans correlation analysis of dnLoF-ASD and dnMis-Epi genes at specific stages of excitatory neurons by downsampling.

source("calculate_cor_Ex.R")

source("plot_cor_Ex.R")

## Spearmans correlation analysis of dnLoF-ASD and dnMis-Epi genes at specific stages of interneurons by downsampling.

source("calculate_cor_In.R")

source("plot_cor_In.R")
