cellink.at.acat_test#
- cellink.at.acat_test(pvalues, tolerance=1e-16, weights=None)#
Perform the Aggregated Cauchy Association Test (ACAT) to combine p-values.
ACAT is a fast and robust method for combining possibly dependent p-values, using properties of the Cauchy distribution. It is especially effective when only a subset of the input p-values are small. Inspired by: yaowuliu/ACAT
- Parameters:
pvalues (np.ndarray or list of float) – The p-values to combine. Must be in the range [0, 1]. NaN values are ignored.
tolerance (float, optional) – A lower bound for p-values to ensure numerical stability. Values below this threshold are clipped to
tolerance. Default is 1e-16.weights (np.ndarray or list of float, optional) – Non-negative weights for each p-value. If None, equal weights are used.
- Return type:
- Returns:
float The ACAT-combined p-value.