get_meta_associations: Get metadata associations with factor donor scores

View source: R/get_meta_associations.R

get_meta_associationsR Documentation

Get metadata associations with factor donor scores

Description

Get metadata associations with factor donor scores

Usage

get_meta_associations(container, vars_test, stat_use = "rsq")

Arguments

container

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

vars_test

character The names of meta variables to get associations for

stat_use

character Set to either 'rsq' to get r-squared values or 'pval' to get adjusted pvalues (default='rsq)

Value

The project container with a matrix of metadata associations with each factor in container$meta_associations.

Examples

test_container <- get_meta_associations(test_container, vars_test='lanes', stat_use='pval')

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