Get gene callout annotations for a loadings heatmap
get_callouts_annot(
container,
tmp_casted_num,
factor_select,
sig_thresh,
top_n_per_ctype = 5,
ctypes = NULL
)
A HeatmapAnnotation object for the gene callouts.
environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses
matrix The gene by cell type loadings matrix
numeric The factor to investigate
numeric Pvalue cutoff for significant genes
numeric The number of significant, largest magnitude genes from each cell type to generate callouts for (default=5)
character The cell types for which to get the top genes to make callouts for. If NULL then uses all cell types. (default=NULL)