get_subclust_enr_fig: Get a figure showing cell subtype proportion associations...

View source: R/get_prop_associations.R

get_subclust_enr_figR 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.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.