Skip to content
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_bar #3

Open
husenzhang opened this issue Jan 5, 2016 · 0 comments
Open

plot_bar #3

husenzhang opened this issue Jan 5, 2016 · 0 comments

Comments

@husenzhang
Copy link

Dear users,
My name is Husen Zhang. I use QIIME followed by phyloseq on microbiome data. exact command follows, but the problem is that the order of "Firmicutes" and "Bacteroidetes" are inconsistent across the samples. For example, some has "Firmicutes" on top, some has "Bacteroidetes" on top:
rplot1

the exact command run was:
plot_bar(phylum, fill = 'Phylum', x = 'mouse_id') + geom_bar(stat = 'identity', position = 'stack') + scale_fill_brewer(palette = "Set1", guide=guide_legend(rev=TRUE)) + ylab("Percent")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant