Calculate cluster enrichment in each of the categorical values of a feature, by means of hypergeometric test
Usage
cluster_hyper(feature_values = NULL, cell_clusters = NULL)
Arguments
- feature_values
matrix, cells-by-features
- cell_clusters
array with cell values named by their cluster ID
Value
A list of data.frames, one for each categorical value. See [ora()]