get_subclust_enr_fig {scITD}R Documentation

Get a figure showing cell subtype proportion associations with each factor. Combines this plot with subtype UMAPs and differential expression heatmaps. Note that this function runs better if the number of cores in the conos object in container$embedding has n.cores set to a relatively small value < 10.

Description

Get a figure showing cell subtype proportion associations with each factor. Combines this plot with subtype UMAPs and differential expression heatmaps. Note that this function runs better if the number of cores in the conos object in container$embedding has n.cores set to a relatively small value < 10.

Usage

get_subclust_enr_fig(container, all_ctypes, all_res)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

all_ctypes

character A vector of the cell types to include

all_res

numeric A vector of resolutions matching the all_ctypes parameter

Value

A cowplot figure placed in the slot container$plots$subc_fig.


[Package scITD version 1.0.4 Index]