You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it might make better sense to re-structure all of the Nremover functions as GenotypeData methods? In each case could either modify in-place or return a deep copy of current GenoData object.
This would allow us to be more flexible with the order of operations, for example a user could do GenoData.filterPop(..).filterInd(...) or GenoData.filter(miss=0.5).filter(Mac=2).filterInd(0.5) etc, so you could chain operations similarly to how you might do with a pandas dataframe?
Could include a logging module to track what order operations were done, which filters applied/ data removed at each step, so the sankey plot would still work?
The text was updated successfully, but these errors were encountered:
I wonder if it might make better sense to re-structure all of the Nremover functions as GenotypeData methods? In each case could either modify in-place or return a deep copy of current GenoData object.
This would allow us to be more flexible with the order of operations, for example a user could do GenoData.filterPop(..).filterInd(...) or GenoData.filter(miss=0.5).filter(Mac=2).filterInd(0.5) etc, so you could chain operations similarly to how you might do with a pandas dataframe?
Could include a logging module to track what order operations were done, which filters applied/ data removed at each step, so the sankey plot would still work?
The text was updated successfully, but these errors were encountered: