Skip to content

Commit

Permalink
multicovatesting
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-krismer committed Aug 21, 2023
1 parent 2f718e7 commit 53a31f5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/test_DataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,15 +729,6 @@ def test_batch_correction(self):
first_value = self.obj.mat.values[0,0]
self.assertAlmostEqual(0.0111, first_value, places=2)

def test_multicova_analysis(self):
self.obj.preprocess(imputation="knn", normalization="zscore", subset=True)
res, plot_list = self.obj.multicova_analysis(
covariates=["disease", "Alkaline phosphatase measurement"],
subset={"disease": ["healthy", "liver cirrhosis"]},
)
self.assertAlmostEqual(-0.3063, res['disease_fc'].iloc[1], places=2)


def test_multicova_analysis_invalid_covariates(self):
self.obj.preprocess(imputation="knn", normalization="zscore", subset=True)
res, _ = self.obj.multicova_analysis(
Expand Down

0 comments on commit 53a31f5

Please sign in to comment.