morrislab / TrackSig

A framework to infer mutational signatures in cancer over time
MIT License
53 stars 17 forks source link

fix simulation bug #14

Open lntran26 opened 1 month ago

lntran26 commented 1 month ago

This is a proposed fix for a bug found in the Generating Simulations module of the code. This bug causes the current program to always use signatures S1, S2, S3, S4 from the alexSignatures table instead of the selected 4 signatures (S1, S5 + two randomly chosen) to calculate the loading probabilities for each simulated sample. As a result, the TrackSig-inferred signature activities for simulated data will look very different from the simulated ground truth.