Obtain the average correlation (across celltypes) at a specified cutoff p-value

plot_mean_correlation(
  dataset_name,
  allstudies,
  celltypes,
  pvals,
  data_names = "placeholder",
  output_path = getwd()
)

Arguments

dataset_name

name of the dataset used to select significant DEGs from (specified as a string, name as in allStudies)

allstudies

a list containing all the datasets (most likely as SCE objects)

celltypes

a list containing the celltypes to compute mean correlation across

pvals

the cut-off p-value which will be used to select DEGs

data_names

names of the datasets as they appear in the correlation plot

output_path

base path in which outputs will be stored

Value

mean correlation matrix