{"action":"closed","issue":{"url":"https://api.github.com/repos/joey711/phyloseq/issues/584","repository_url":"https://api.github.com/repos/joey711/phyloseq","labels_url":"https://api.github.com/repos/joey711/phyloseq/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/joey711/phyloseq/issues/584/comments","events_url":"https://api.github.com/repos/joey711/phyloseq/issues/584/events","html_url":"https://github.com/joey711/phyloseq/issues/584","id":137961152,"number":584,"title":"Outlier dots in wrong spot when using the color option in plot_richness","user":{"login":"lfaller","id":7854149,"avatar_url":"https://avatars.githubusercontent.com/u/7854149?v=3","gravatar_id":"","url":"https://api.github.com/users/lfaller","html_url":"https://github.com/lfaller","followers_url":"https://api.github.com/users/lfaller/followers","following_url":"https://api.github.com/users/lfaller/following{/other_user}","gists_url":"https://api.github.com/users/lfaller/gists{/gist_id}","starred_url":"https://api.github.com/users/lfaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfaller/subscriptions","organizations_url":"https://api.github.com/users/lfaller/orgs","repos_url":"https://api.github.com/users/lfaller/repos","events_url":"https://api.github.com/users/lfaller/events{/privacy}","received_events_url":"https://api.github.com/users/lfaller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-02T19:00:57Z","updated_at":"2016-03-31T23:15:48Z","closed_at":"2016-03-31T23:15:48Z","body":"Hi all,\r\n\r\nI am using the `plot_richness` function to group my data by one variable and then color it by another. Unfortunately, the outlier dots seem to be duplicated: they are plotted once on their own vertical line and once more on the middle one. Both of these variables are factors. Is there a way to keep all the red dots with the red boxplot and the blue dots with the blue boxplot?\r\n\r\nThis is my code:\r\n\r\n``` rsplus\r\nplot_richness(physeq, x = \"direction\", color = 'v_region', measures = \"Shannon\", title = \"Alpha diversity of samples by direction colored by direction\") + geom_boxplot()\r\n```\r\n\r\nAny thoughts on how to fix this would be appreciated!\r\n\r\n![screen shot 2016-03-02 at 1 55 51 pm](https://cloud.githubusercontent.com/assets/7854149/13471554/08675aa8-e07f-11e5-9dca-64e01de9fc89.png)\r\n"}}