New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plot_cladogram(): Mismatch between marker legend and plot labels #42
Comments
@sn0001 I'm very sorry for the delay reply. The example data In the current version of microbiomeMarker, the analysis is begin from the taxa table rather than the summarized taxa table, which means that summarized data like |
@yiluheihei Thank you for your reply. I am running into the described error with my own data, too. How do I have to prepare my phyloseq data for microbiomeMarker to avoid the marker legend mismatch error? |
Could you provide a reproducible example? |
@yiluheihei Of course! Please unzip the attached phyloseq object data and use them along with the code below:
The result should look as in the screenshot below. Note that marker “ag” belongs to Group_8 according to the cladogram, but to Group_1 according to the legend. |
@sn0001 The issue was fixed. You can reinstall the package from github and try again. Thanks your feedback again. |
@yiluheihei Thanks a lot! |
Thank you for this great package! Trying
plot_cladogram()
with many makers, I noticed that the labels of the marker legend do not agree with those in the plot. Specifically, this happens when there are more markers than latin letters and double letter combinations are used.Minimum reproducible example:
In the upper left of the cladogram, you will notice a red "Tumor"-related group with letter codes
aa
andj
. The latter do not belong to "Tumor" markers.The text was updated successfully, but these errors were encountered: