For a given down-sampled DGE analysis output, computes the correlation of the log-foldchange of the DEGs (at specified p-value) for a given dataset (celltype)

compute_downsampled_corr(allstudies, sampled = "individuals")

Arguments

allstudies

a list containing DGE analysis outputs (subset to "celltype_all_genes" and the specified cell type) at each down-sampled point

sampled

downsampling carried out based on what (either "individuals" or "cells")

Value

correlation matrix, plot and the number of DEGs at the specified p-value