get_ctype_subc_prop_associations: Compute and plot associations between donor factor scores and...

View source: R/get_prop_associations.R

get_ctype_subc_prop_associationsR Documentation

Compute and plot associations between donor factor scores and donor proportions of cell subtypes

Description

Compute and plot associations between donor factor scores and donor proportions of cell subtypes

Usage

get_ctype_subc_prop_associations(
  container,
  ctype,
  res,
  n_col = 2,
  alt_name = NULL
)

Arguments

container

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

ctype

character The cell type to get results for

res

numeric The clustering resolution to retrieve

n_col

numeric The number of columns to organize the plots into (default=2)

alt_name

character Alternate name for the cell type used in clustering (default=NULL)

Value

The project container with a cowplot figure of results plots in container$plots$ctype_prop_factor_associations.


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