calculate_fiber_fstats {scITD} | R 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.
[Package scITD version 1.0.4 Index]