Class representing approximate score distribution for a given
motif.
Utilizes a dynamic programming approch to calculate the distribution
of scores with a predefined precision. Provides a number of methods for
calculating thresholds for motif occurences.
|
|
|
|
|
|
|
|
|
threshold_fpr(self,
fpr)
Approximate the log-odds threshold which makes the type I error
(false positive rate). |
source code
|
|
|
threshold_fnr(self,
fnr)
Approximate the log-odds threshold which makes the type II error
(false negative rate). |
source code
|
|
|
threshold_balanced(self,
rate_proportion=1.0,
return_rate=False)
Approximate the log-odds threshold which makes FNR equal to FPR times
rate_proportion |
source code
|
|
|
|