diff --git a/deeprvat/deeprvat/associate.py b/deeprvat/deeprvat/associate.py index bec7b0f0..029d65c5 100644 --- a/deeprvat/deeprvat/associate.py +++ b/deeprvat/deeprvat/associate.py @@ -635,7 +635,10 @@ def compute_burdens( source_path.symlink_to(link_burdens) -def regress_on_gene_scoretest(gene: str, burdens: np.ndarray, model_score, +def regress_on_gene_scoretest( + gene: str, + burdens: np.ndarray, + model_score, ) -> Tuple[List[str], List[float], List[float]]: """ Perform regression on a gene using the score test. diff --git a/deeprvat/metrics.py b/deeprvat/metrics.py index c65c1679..f7b74a01 100644 --- a/deeprvat/metrics.py +++ b/deeprvat/metrics.py @@ -18,6 +18,7 @@ class RSquared: """ Calculates the R-squared (coefficient of determination) between predictions and targets. """ + def __init__(self): pass @@ -42,6 +43,7 @@ class PearsonCorr: """ Calculates the Pearson correlation coefficient between burdens and targets. """ + def __init__(self): pass @@ -77,6 +79,7 @@ class PearsonCorrTorch: """ Calculates the Pearson correlation coefficient between burdens and targets using PyTorch tensor operations. """ + def __init__(self): pass @@ -125,6 +128,7 @@ class AveragePrecisionWithLogits: """ Calculates the average precision score between logits and targets. """ + def __init__(self): pass