{"action":"created","issue":{"url":"https://api.github.com/repos/pbreheny/visreg/issues/45","repository_url":"https://api.github.com/repos/pbreheny/visreg","labels_url":"https://api.github.com/repos/pbreheny/visreg/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/pbreheny/visreg/issues/45/comments","events_url":"https://api.github.com/repos/pbreheny/visreg/issues/45/events","html_url":"https://github.com/pbreheny/visreg/issues/45","id":313412408,"number":45,"title":"2.5% confidence limit for the X2 distribution","user":{"login":"xphab","id":15809693,"avatar_url":"https://avatars0.githubusercontent.com/u/15809693?v=4","gravatar_id":"","url":"https://api.github.com/users/xphab","html_url":"https://github.com/xphab","followers_url":"https://api.github.com/users/xphab/followers","following_url":"https://api.github.com/users/xphab/following{/other_user}","gists_url":"https://api.github.com/users/xphab/gists{/gist_id}","starred_url":"https://api.github.com/users/xphab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xphab/subscriptions","organizations_url":"https://api.github.com/users/xphab/orgs","repos_url":"https://api.github.com/users/xphab/repos","events_url":"https://api.github.com/users/xphab/events{/privacy}","received_events_url":"https://api.github.com/users/xphab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T17:09:59Z","updated_at":"2018-04-13T01:28:35Z","closed_at":"2018-04-12T10:49:25Z","author_association":"NONE","body":"Dear Prof. Patrick Breheny\r\n\r\nI'm sorry that my question may not be the issues of 'visreg'.\r\nI have a matrix data:\r\n```\r\n> head(a_order)\r\n          ID persistence      rate\r\n5456 OTU_999       3 16.112676\r\n5455 OTU_998      32  1.493214\r\n5454 OTU_997      21  2.814085\r\n5453 OTU_996      20 13.659007\r\n5452 OTU_995      34  1.630889\r\n5451 OTU_994      30  1.724810\r\n```\r\nThe 'persistence: 3' means 'OTU_999' exists in 3 samples.\r\nThe 'rate: 16.112676' means 'variance(OTU_999)/average(OTU_999)', variance of OTU_999 in the 3 samples and average number of OTU_999 in the 3 samples.\r\nI used glm() to get a possion linear model of \"rate~persistence\", and I try to use visreg to plot a \"2.5% confidence limit line for the x2 distribution“. I found the visreg2d could load 2 data sets, but I didn't know how to get the 2.5% confidence line.\r\nI'm going to classify the 'core' and 'satellite' OTUs based on the matrix data following the paper: https://www.nature.com/articles/ismej2010175 (Fig 1b)：\r\n![image](https://user-images.githubusercontent.com/15809693/38632011-0217f436-3dee-11e8-90df-8644a9d75ba3.png)\r\n\r\n\r\nCould you please help me to find a way to get the 2.5% confidence line? I am looking for solutions for one week, and still get nothing.\r\nI'm so sorry to disturb you. I will very much appreciate your kindly help. \r\n\r\nBest,\r\nPeng"},"comment":{"url":"https://api.github.com/repos/pbreheny/visreg/issues/comments/380992672","html_url":"https://github.com/pbreheny/visreg/issues/45#issuecomment-380992672","issue_url":"https://api.github.com/repos/pbreheny/visreg/issues/45","id":380992672,"user":{"login":"xphab","id":15809693,"avatar_url":"https://avatars0.githubusercontent.com/u/15809693?v=4","gravatar_id":"","url":"https://api.github.com/users/xphab","html_url":"https://github.com/xphab","followers_url":"https://api.github.com/users/xphab/followers","following_url":"https://api.github.com/users/xphab/following{/other_user}","gists_url":"https://api.github.com/users/xphab/gists{/gist_id}","starred_url":"https://api.github.com/users/xphab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xphab/subscriptions","organizations_url":"https://api.github.com/users/xphab/orgs","repos_url":"https://api.github.com/users/xphab/repos","events_url":"https://api.github.com/users/xphab/events{/privacy}","received_events_url":"https://api.github.com/users/xphab/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T01:28:35Z","updated_at":"2018-04-13T01:28:35Z","author_association":"NONE","body":"Thanks very much for your kindly help! I will check it again. Thanks"}}
{"actor":{"display_login":"xphab"}}