R/validate_input_parameters_bulk.r
validate_input_parameters_bulk.Rd
Tests input parameters for functions
validate_input_parameters_bulk(
SCEs = "placeholder",
dataset_names = "placeholder",
celltype = "placeholder",
celltype_correspondence = "placeholder",
output_path = "placeholder",
range_downsampled = "placeholder",
celltypeIDs = "placeholder",
sampled = "placeholder",
sampleIDs = "placeholder",
bulkDE = "placeholder",
bulk_cutoff = "placeholder",
pvalue = "placeholder",
Nperms = "placeholder",
fontsize_axislabels = "placeholder",
fontsize_axisticks = "placeholder",
fontsize_title = "placeholder",
fontsize_legendlabels = "placeholder",
fontsize_legendtitle = "placeholder",
plot_title = "placeholder"
)
list of the input data (elements should be SCE objects)
list of the names of the datasets (as you would like them to appear in the "output_path" directory)
the cell type we are focusing on (name as it appears in cell type sub-directory name)
list of different names specifying each cell type
path storing the down-sampled DGE analysis for each single-cell dataset, generated for bulk analysis
vector or list containing values which the data will be downsampled at, in ascending order
list or vector of cell type IDs (in order of SCEs)
downsampling carried out based on what (either "individuals" or "cells")
list or vector of sample IDs (in order of SCEs)
DGE analysis output for a bulk RNA-seq dataset: rows (rownames) should be the genes, columns should be tissues, and entries should be significance levels
percentage (proportion between 0 and 1), specified so that we select DEGs common across >= bulk_cutoff of the tissues in the Bulk dataset
the cut-off p-value used to select DEGs (for both, bulk and scRNA-seq datasets)
number of permutations of DGE analysis outputs for each sample
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
plot title Checks all bulk analysis parameters are specified correctly