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 have been using differential heat trees to compare the relative abundance of AMF taxa between three land uses, combining samples taken at multiple sites from each land use. I have noticed a strange result on the heat tree matrix which does not match the relative abundance data contained in the dataframe created by psmelt(physeq).
This barplot below is created with the psmelt df and shows that native forest has a higher mean relative abundance of the genus Gigaspora (28%) than maize fields (4%). Kiwifruit orchard samples have 0% mean relative abundance of Gigaspora.
However when I use the same physeq object to plot a differential heat tree with metacoder, maize is shown to have a higher relative abundance of gigaspora than native forest. I am also surprised that no difference is shown in the abundance of gigaspora between native forest and kiwifruit orchards (coloured grey). All differences are found non-significant by the Wilcoxon rank-sum test.
This is the diff_table entry for the comparison in question. Is the "Inf" value for log2_median_ratio to blame?
Do you have any idea what could be causing these inconsistencies? Once zero abundance OTUs are removed from the dataframe, Gigaspora is represented by 5 OTUs in 2 maize field sites and only 1 OTU from one site in native forest, but I believed I was plotting the taxon abundance not the OTUs so this shouldn't be an issue. All Gigaspora OTUs represent a single species. Below is the code I have used to create the metacoder plot:
Hello and thanks for the package.
I have been using differential heat trees to compare the relative abundance of AMF taxa between three land uses, combining samples taken at multiple sites from each land use. I have noticed a strange result on the heat tree matrix which does not match the relative abundance data contained in the dataframe created by psmelt(physeq).
This barplot below is created with the psmelt df and shows that native forest has a higher mean relative abundance of the genus Gigaspora (28%) than maize fields (4%). Kiwifruit orchard samples have 0% mean relative abundance of Gigaspora.
However when I use the same physeq object to plot a differential heat tree with metacoder, maize is shown to have a higher relative abundance of gigaspora than native forest. I am also surprised that no difference is shown in the abundance of gigaspora between native forest and kiwifruit orchards (coloured grey). All differences are found non-significant by the Wilcoxon rank-sum test.
This is the diff_table entry for the comparison in question. Is the "Inf" value for log2_median_ratio to blame?
Do you have any idea what could be causing these inconsistencies? Once zero abundance OTUs are removed from the dataframe, Gigaspora is represented by 5 OTUs in 2 maize field sites and only 1 OTU from one site in native forest, but I believed I was plotting the taxon abundance not the OTUs so this shouldn't be an issue. All Gigaspora OTUs represent a single species. Below is the code I have used to create the metacoder plot:
The text was updated successfully, but these errors were encountered: