Dual Threshold Optimization compares two ranked lists of features (e.g. genes)
to determine the rank threshold for each list that minimizes the hypergeometric
p-value of the overlap of features. It then calculates a permutation based
empirical p-value and an FDR. Details can be found [in this paper](https://doi.org/10.1101/gr.259655.119)
useserde::{Deserialize, Serialize};#[derive(Clone, Debug, Serialize, Deserialize)]pubstructTask{/// A unique identifier for the task (optional, useful for debugging or logging)
pubid:usize,
/// Whether this task should permute the data (true for permutations)
pubpermute:bool,
}