Learn R Programming

scITD (version 1.0.4)

get_meta_associations: 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")

Value

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

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)

Examples

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

Run the code above in your browser using DataLab