Hi,
Metaphlan output is relative abundance out of 100 percent.Can I directly use the output to MaAsLin2? Is it appropriate to use the LOG method to convert data? Setting NONE and LOG yields very different results. Thanks!
Like this:
I encountered another problem: using log2 to convert data before input will prompt the following error:
2024-09-25 09:06:11 INFO::Total filtered features with variance filtering: 0
2024-09-25 09:06:11 INFO::Filtered feature names from variance filtering:
2024-09-25 09:06:11 INFO::Running selected normalization method: NONE
2024-09-25 09:06:11 INFO::Bypass z-score application to metadata
2024-09-25 09:06:11 INFO::Running selected transform method: NONE
2024-09-25 09:06:11 INFO::Running selected analysis method: LM
Error in `rownames<-`(x, value) :
attempt to set 'rownames' on an object with no dimensions
But using the internal LOG conversion method or using log2 conversion and ensuring that the value is a positive number will not encounter this problem. Is it related to the default parameter min_abundance=0.0?
Here is the code I ran: