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


[Package scITD version 1.0.4 Index]