Runs correlation analysis pipeline
correlation_analysis(
main_dataset,
SCEs,
sampleIDs,
celltypeIDs,
celltype_correspondence,
pvals = c(0.05, 0.025, 0.01, 0.001, 1e-04),
dataset_names = "placeholder",
alphaval = 0.25,
N_randperms = 5,
N_subsets = 5,
sex_DEGs = FALSE,
fontsize_yaxislabels = 12,
fontsize_yaxisticks = 9,
fontsize_title = 14,
fontsize_legendlabels = 9,
fontsize_legendtitle = 9,
fontsize_facet_labels = 9,
output_path = getwd()
)
name of the dataset used to select significant DEGs from (specified as a string, name as in dataset_names)
list of the input data (elements should be SCE objects)
list or vector of sample IDs (in order of SCEs)
list or vector of cell type IDs (in order of SCEs)
list of different names specifying each cell type
list of p-value cut-offs which will be used to select DEGs
names of the datasets as they appear in the correlation plot (in order of SCEs)
(alpha) transparency of the non-mean boxplots
number of random permutations of the dataset used to select significant DEGs from
number of pairs of random subsets of the dataset used to select significant DEGs from
If TRUE, only keep genes present on sex chromosmomes. Queries hspanies gene Ensembl dataset.
font size for axis labels in plot
font size for axis tick labels in plot
font size for plot title
font size for legend labels in plot
font size for legend title in plot
font size for facet labels
base path in which outputs will be stored Saves all plots and DGE analysis outputs in the appropriate directories