The project container with a heatmap plot in the slot
container$plots$donor_sig_genes$<Factor#>. This heatmap shows scaled expression
of top loading genes in each cell type for a selected factor.
Arguments
container
environment Project container that stores sub-containers
for each cell type as well as results and plots from all analyses
factor_select
numeric The factor to query
top_n_per_ctype
numeric Vector of the number of top genes from each cell type
to plot
ctypes_use
character The cell types for which to get the top genes to make
callouts for. If NULL then uses all cell types. (default=NULL)
show_donor_labels
logical Set to TRUE to display donor labels (default=FALSE)
additional_meta
character Another meta variable to plot (default=NULL)
add_genes
character Additional genes to plot for all ctypes (default=NULL)