ArcInstitute / ScreenPro2

Flexible analysis of high-content CRISPR screening
https://screenpro2.rtfd.io
Other
16 stars 1 forks source link

Benjamini-Hochberg FDR calculation #11

Closed abearab closed 4 months ago

abearab commented 7 months ago
abearab commented 6 months ago

Charlene Pan from UCSF

the output BH column was all NAs because some genes had 0 inputs, so I changed the change L40 of screenpro.init.py to fill in the nan p-values: p_values[pd.isna(p_values)] = 1 to get it working; but alternatively I think changing my count matrix df[df == 0] = 1 works too


solved here 44ca6954fbd42af50f1bc5ed7c02a85bdb98f6f1