Obtain overall percentage overlap between DEGs from bulk data (DE across all tissues) and various scRNA-seq datasets, across all cell types

prop_bulk_DEGs_sc(
  bulkDE,
  inpath,
  range_downsampled,
  bulk_cutoff = 0.9,
  pvalue = 0.05,
  fontsize_axislabels = 12,
  fontsize_axisticks = 9,
  fontsize_title = 14,
  fontsize_legendlabels = 9,
  fontsize_legendtitle = 9,
  plot_title = "placeholder"
)

Arguments

bulkDE

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

inpath

path storing the down-sampled DGE analysis outputs for each dataset

range_downsampled

vector or list containing values which the data will be downsampled at, in ascending order

bulk_cutoff

percentage (proportion), specified so that we select DEGs common across >=bulk_cutoff of the tissues in the Bulk dataset

pvalue

the cut-off p-value used to select DEGs (for bulk data)

fontsize_axislabels

font size for axis labels in plot

fontsize_axisticks

font size for axis tick labels in plot

fontsize_title

font size for plot title

fontsize_legendlabels

font size for legend labels in plot

fontsize_legendtitle

font size for legend title in plot

plot_title

plot title

Value

plot showing percentage DEGs from bulk data found in each scRNA-seq dataset