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

View source: R/get_prop_associations.R

get_ctype_prop_associationsR Documentation

Compute and plot associations between donor factor scores and donor proportions of major cell types

Description

Compute and plot associations between donor factor scores and donor proportions of major cell types

Usage

get_ctype_prop_associations(container, stat_type, n_col = 2)

Arguments

container

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

stat_type

character Either "fstat" to get F-Statistics, "adj_rsq" to get adjusted R-squared values, or "adj_pval" to get adjusted pvalues.

n_col

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

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.