Quick conversion of hit_array to hit_list
Source:R/jam_sestats_hitarray_to_list.R
hit_array_to_list.RdQuick conversion of hit_array to hit_list
Usage
hit_array_to_list(
hit_array,
contrast_names = NULL,
cutoff_names = NULL,
assay_names = NULL,
...
)Arguments
- hit_array
SEStatsorlistwith 'hit_array' element, orarraywithdimnames(): 'Cutoffs', 'Contrasts', 'Signals'.- contrast_names
charactervector of contrasts.
Value
list named by contrast_names, that contains unique statistical
hits by combining entries across the cutoff_names and assay_names
for each contrast.
Details
This function is mainly useful when there are multiple dimensions
unresolved in a hit_array, in which case this function will combine
hits across the different cutoffs and signals contained
in the hit_array of sestats output from se_contrast_stats().