HF RL Explorer

I want a scoary.methods.Setup results(genedic: dict, traitsdic: dict, collapse: bool) - dict function…

I want a scoary.methods.Setup results(genedic: dict, traitsdic: dict, collapse: bool) - dict function…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For example, with one trait resistant where s1 and s2 are "1" and s3 and s4 are "0" , a gene g1 present in s1 /…

The task

For example, with one trait `resistant` where `s1` and `s2` are `"1"` and `s3` and `s4` are `"0"`, a gene `g1` present in `s1`/`s2` and absent in `s3`/`s4` should produce counts `tpgp=2`, `tpgn=0`, `tngp=0`, `tngn=2`, `sens=100.0`, `spes=100.0`, odds ratio `inf`, and naive p-value `0.3333333333333333`. In the same…

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.