get_meta_associations {scITD}R 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')

[Package scITD version 1.0.4 Index]