{"action":"created","issue":{"url":"https://api.github.com/repos/renkun-ken/formattable/issues/36","repository_url":"https://api.github.com/repos/renkun-ken/formattable","labels_url":"https://api.github.com/repos/renkun-ken/formattable/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/renkun-ken/formattable/issues/36/comments","events_url":"https://api.github.com/repos/renkun-ken/formattable/issues/36/events","html_url":"https://github.com/renkun-ken/formattable/issues/36","id":122273421,"number":36,"title":"Question: Is it possible to format by row (instead of by column)","user":{"login":"gluc","id":626832,"avatar_url":"https://avatars.githubusercontent.com/u/626832?v=3","gravatar_id":"","url":"https://api.github.com/users/gluc","html_url":"https://github.com/gluc","followers_url":"https://api.github.com/users/gluc/followers","following_url":"https://api.github.com/users/gluc/following{/other_user}","gists_url":"https://api.github.com/users/gluc/gists{/gist_id}","starred_url":"https://api.github.com/users/gluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluc/subscriptions","organizations_url":"https://api.github.com/users/gluc/orgs","repos_url":"https://api.github.com/users/gluc/repos","events_url":"https://api.github.com/users/gluc/events{/privacy}","received_events_url":"https://api.github.com/users/gluc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/renkun-ken/formattable/labels/feature","name":"feature","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-15T13:32:33Z","updated_at":"2016-02-08T07:16:10Z","closed_at":null,"body":"I realize that this is not the standard use case. But I would like to display a matrix of weights with, say, color_tile, but the color should be chosen as a function of the row values."},"comment":{"url":"https://api.github.com/repos/renkun-ken/formattable/issues/comments/181234058","html_url":"https://github.com/renkun-ken/formattable/issues/36#issuecomment-181234058","issue_url":"https://api.github.com/repos/renkun-ken/formattable/issues/36","id":181234058,"user":{"login":"gluc","id":626832,"avatar_url":"https://avatars.githubusercontent.com/u/626832?v=3","gravatar_id":"","url":"https://api.github.com/users/gluc","html_url":"https://github.com/gluc","followers_url":"https://api.github.com/users/gluc/followers","following_url":"https://api.github.com/users/gluc/following{/other_user}","gists_url":"https://api.github.com/users/gluc/gists{/gist_id}","starred_url":"https://api.github.com/users/gluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluc/subscriptions","organizations_url":"https://api.github.com/users/gluc/orgs","repos_url":"https://api.github.com/users/gluc/repos","events_url":"https://api.github.com/users/gluc/events{/privacy}","received_events_url":"https://api.github.com/users/gluc/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T07:16:10Z","updated_at":"2016-02-08T07:16:10Z","body":"In the meantime: I have an example how to calculate the colors by ourselves: https://github.com/gluc/ahp/blob/master/R/table.R#L43 \r\n\r\nResult is here: \r\n![ahp](https://cloud.githubusercontent.com/assets/626832/12880029/0164f936-ce3c-11e5-95af-6c3c71638f70.png)\r\n\r\nOr, live: http://ipub.com/apps/ahp\r\n"}}