Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
change #24
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Dec 9, 2023
1 parent 08735c9 commit ef6f670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screenpro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def calculateDrugScreen(self, t0, untreated, treated, db_untreated, db_treated,
math=self.math, test=self.test, score_level=score_level
)
rho_name, rho = ps.runPhenoScore(
self.adata, cond1=untreated, cond2=treated, growth_rate=np.abs(db_treated - db_untreated),
self.adata, cond1=untreated, cond2=treated, growth_rate=np.abs(db_untreated - (1 - db_treated)),
n_reps=self.n_reps,
math=self.math, test=self.test, score_level=score_level
)
Expand Down

0 comments on commit ef6f670

Please sign in to comment.