calculate_fiber_fstats: Calculate F-Statistics for the association between donor...

View source: R/run_jackstraw.R

calculate_fiber_fstatsR Documentation

Calculate F-Statistics for the association between donor scores for each factor donor values of shuffled gene_ctype fibers

Description

Calculate F-Statistics for the association between donor scores for each factor donor values of shuffled gene_ctype fibers

Usage

calculate_fiber_fstats(tensor_data, tucker_results, s_fibers)

Arguments

tensor_data

list The tensor data including donor, gene, and cell type labels as well as the tensor array itself

tucker_results

list The results from Tucker decomposition. Includes a scores matrix as the first element and the loadings tensor unfolded as the second element.

s_fibers

list Gene and cell type indices for the randomly selected fibers

Value

A numeric vector of F-statistics for associations between all shuffled fibers and donor scores.


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