plot_dscore_enr: Compute enrichment of donor metadata categorical variables at...

View source: R/plot_tucker.R

plot_dscore_enrR Documentation

Compute enrichment of donor metadata categorical variables at high/low factor scores

Description

Compute enrichment of donor metadata categorical variables at high/low factor scores

Usage

plot_dscore_enr(container, factor_use, meta_var)

Arguments

container

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

factor_use

numeric The factor to test

meta_var

character The name of the metadata variable to test

Value

A cowplot figure of enrichment plots.

Examples

fig <- plot_dscore_enr(test_container, factor_use=1, meta_var='lanes')

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