andim / pyrepseq

Python library for immune repertoire analysis
MIT License
15 stars 4 forks source link

Make weighting in pc conditional unbiased #49

Open jhenderson0 opened 2 weeks ago

jhenderson0 commented 2 weeks ago

The current implementation uses group_weights2 / sum(group_weights2) for averaging over different conditioning groups. Instead we should used the same implementation as the probability of coincidence.