{"action":"opened","issue":{"url":"https://api.github.com/repos/joey711/phyloseq-demo/issues/3","labels_url":"https://api.github.com/repos/joey711/phyloseq-demo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/joey711/phyloseq-demo/issues/3/comments","events_url":"https://api.github.com/repos/joey711/phyloseq-demo/issues/3/events","html_url":"https://github.com/joey711/phyloseq-demo/issues/3","id":125063842,"number":3,"title":"plot_bar ","user":{"login":"husenzhang","id":10604437,"avatar_url":"https://avatars.githubusercontent.com/u/10604437?v=3","gravatar_id":"","url":"https://api.github.com/users/husenzhang","html_url":"https://github.com/husenzhang","followers_url":"https://api.github.com/users/husenzhang/followers","following_url":"https://api.github.com/users/husenzhang/following{/other_user}","gists_url":"https://api.github.com/users/husenzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/husenzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husenzhang/subscriptions","organizations_url":"https://api.github.com/users/husenzhang/orgs","repos_url":"https://api.github.com/users/husenzhang/repos","events_url":"https://api.github.com/users/husenzhang/events{/privacy}","received_events_url":"https://api.github.com/users/husenzhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T22:16:10Z","updated_at":"2016-01-05T22:16:10Z","closed_at":null,"body":"Dear users,\r\nMy 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: \r\n[Rplot.pdf](https://github.com/joey711/phyloseq-demo/files/79112/Rplot.pdf)\r\n\r\nthe exact command run was: \r\nplot_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\")"}}