Closed jonasjonker closed 3 years ago
Hi Jonas, Thanks for the feedback, great catch! I just pushed a fix, could you let me know if this works now? To get these changes, you can write in julia's pkg prompt
(v1.2) pkg> add FlashWeave#master
Hey Janko,
Thank you for the fix! I ran my code with the update and it solved the error.
Great! Should be able to tag a new version this week, then you won't have to be on master for this.
Hello. I'm using FlashWeave for my Master Thesis, and I think I ran into a bug.
I discovered it when I was getting myself familiar with your software by practicing on a small dataset Qitta: [ID 1001].
I posted the error message below:
I read your code and I think I understand what is going wrong.
adaptive_pseudocount!()
masks and removes samples from the matrix. This function is indirectly called inpreprocessing_data()
(viaadaptive_clr!()
andclrnorm()
). However after this point the masked matrix is merged with the unmasked metadata. Because these matrices are not of the same size at this point an error is thrown.preemptively dropping metadata columns doesn't work either:
I didn't think of an (easy) fix yet. But If you like I don't mind spending some time on it.
I can provide you with my exact code if you'd like to reproduce the error.