waldronlab / lefser

R implementation of the LEfSe method
https://waldronlab.io/lefser/
38 stars 6 forks source link

update code in fillPmatZmat #43

Closed LiNk-NY closed 3 days ago

LiNk-NY commented 2 weeks ago

refers to issue #38

It is hard to avoid the double loop without multiplying the data by four (for all the combinations of the two conditions). I've cleaned up the code a bit. I've tested lefser:::fillPmatZmat in both versions and the results are the same.