{"action":"created","issue":{"url":"https://api.github.com/repos/grunwaldlab/poppr/issues/55","repository_url":"https://api.github.com/repos/grunwaldlab/poppr","labels_url":"https://api.github.com/repos/grunwaldlab/poppr/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/grunwaldlab/poppr/issues/55/comments","events_url":"https://api.github.com/repos/grunwaldlab/poppr/issues/55/events","html_url":"https://github.com/grunwaldlab/poppr/issues/55","id":99831463,"number":55,"title":"Allow for named color vector input for msn functions","user":{"login":"zkamvar","id":3639446,"avatar_url":"https://avatars.githubusercontent.com/u/3639446?v=3","gravatar_id":"","url":"https://api.github.com/users/zkamvar","html_url":"https://github.com/zkamvar","followers_url":"https://api.github.com/users/zkamvar/followers","following_url":"https://api.github.com/users/zkamvar/following{/other_user}","gists_url":"https://api.github.com/users/zkamvar/gists{/gist_id}","starred_url":"https://api.github.com/users/zkamvar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkamvar/subscriptions","organizations_url":"https://api.github.com/users/zkamvar/orgs","repos_url":"https://api.github.com/users/zkamvar/repos","events_url":"https://api.github.com/users/zkamvar/events{/privacy}","received_events_url":"https://api.github.com/users/zkamvar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grunwaldlab/poppr/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-08T20:15:03Z","updated_at":"2016-05-04T18:57:24Z","closed_at":"2016-05-04T18:52:09Z","body":"Currently the msn functions only allow palettes to be input. This becomes burdensome when the user wants specific colors for the nodes and has to input the palette such as `function(x) myPalette`"},"comment":{"url":"https://api.github.com/repos/grunwaldlab/poppr/issues/comments/216966191","html_url":"https://github.com/grunwaldlab/poppr/issues/55#issuecomment-216966191","issue_url":"https://api.github.com/repos/grunwaldlab/poppr/issues/55","id":216966191,"user":{"login":"zkamvar","id":3639446,"avatar_url":"https://avatars.githubusercontent.com/u/3639446?v=3","gravatar_id":"","url":"https://api.github.com/users/zkamvar","html_url":"https://github.com/zkamvar","followers_url":"https://api.github.com/users/zkamvar/followers","following_url":"https://api.github.com/users/zkamvar/following{/other_user}","gists_url":"https://api.github.com/users/zkamvar/gists{/gist_id}","starred_url":"https://api.github.com/users/zkamvar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkamvar/subscriptions","organizations_url":"https://api.github.com/users/zkamvar/orgs","repos_url":"https://api.github.com/users/zkamvar/repos","events_url":"https://api.github.com/users/zkamvar/events{/privacy}","received_events_url":"https://api.github.com/users/zkamvar/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T18:57:23Z","updated_at":"2016-05-04T18:57:23Z","body":"This has been fixed. There was something weird with `match.fun()`, but setting `descend = FALSE` did the trick. I also added a new feature that would give you what I'd hope you'd expect.\r\n\r\nFor future reference, if you find a bug that stemmed from a new feature, please raise a separate issue; it makes things easier to track down."}}