compute_associations: Compute associations between donor proportions and factor...

View source: R/get_prop_associations.R

compute_associationsR Documentation

Compute associations between donor proportions and factor scores

Description

Compute associations between donor proportions and factor scores

Usage

compute_associations(donor_balances, donor_scores, stat_type)

Arguments

donor_balances

matrx The balances computed from donor cell type proportions

donor_scores

data.frame The donor scores matrix from tucker results

stat_type

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

Value

A numeric vector of association statistics (one for each factor)


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