{"action":"created","issue":{"url":"https://api.github.com/repos/ClinGen/clincoded/issues/737","repository_url":"https://api.github.com/repos/ClinGen/clincoded","labels_url":"https://api.github.com/repos/ClinGen/clincoded/issues/737/labels{/name}","comments_url":"https://api.github.com/repos/ClinGen/clincoded/issues/737/comments","events_url":"https://api.github.com/repos/ClinGen/clincoded/issues/737/events","html_url":"https://github.com/ClinGen/clincoded/issues/737","id":162579515,"number":737,"title":"Calculate CI information on Population tab (within an Interpretation)","user":{"login":"selinad","id":11320314,"avatar_url":"https://avatars.githubusercontent.com/u/11320314?v=3","gravatar_id":"","url":"https://api.github.com/users/selinad","html_url":"https://github.com/selinad","followers_url":"https://api.github.com/users/selinad/followers","following_url":"https://api.github.com/users/selinad/following{/other_user}","gists_url":"https://api.github.com/users/selinad/gists{/gist_id}","starred_url":"https://api.github.com/users/selinad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selinad/subscriptions","organizations_url":"https://api.github.com/users/selinad/orgs","repos_url":"https://api.github.com/users/selinad/repos","events_url":"https://api.github.com/users/selinad/events{/privacy}","received_events_url":"https://api.github.com/users/selinad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/active","name":"active","color":"ededed"},{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/R7alpha1","name":"R7alpha1","color":"d4c5f9"},{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/variant%20curation%20interface","name":"variant curation interface","color":"1791B3"}],"state":"open","locked":false,"assignee":{"login":"mrmin123","id":4326866,"avatar_url":"https://avatars.githubusercontent.com/u/4326866?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmin123","html_url":"https://github.com/mrmin123","followers_url":"https://api.github.com/users/mrmin123/followers","following_url":"https://api.github.com/users/mrmin123/following{/other_user}","gists_url":"https://api.github.com/users/mrmin123/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmin123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmin123/subscriptions","organizations_url":"https://api.github.com/users/mrmin123/orgs","repos_url":"https://api.github.com/users/mrmin123/repos","events_url":"https://api.github.com/users/mrmin123/events{/privacy}","received_events_url":"https://api.github.com/users/mrmin123/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrmin123","id":4326866,"avatar_url":"https://avatars.githubusercontent.com/u/4326866?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmin123","html_url":"https://github.com/mrmin123","followers_url":"https://api.github.com/users/mrmin123/followers","following_url":"https://api.github.com/users/mrmin123/following{/other_user}","gists_url":"https://api.github.com/users/mrmin123/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmin123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmin123/subscriptions","organizations_url":"https://api.github.com/users/mrmin123/orgs","repos_url":"https://api.github.com/users/mrmin123/repos","events_url":"https://api.github.com/users/mrmin123/events{/privacy}","received_events_url":"https://api.github.com/users/mrmin123/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-06-28T00:48:21Z","updated_at":"2016-07-08T22:26:50Z","closed_at":null,"body":"When a curator has started an interpretation, the ability to add a desired CI value and to calculate lower and upper CI values will appear on the Population tab ( #683)  \r\n\r\nThe same information will appear as in #736, but with the additional ability to select a desired CI and have lower and upper CI values returned.\r\n\r\n### Highest Minor Allele Frequency:\r\nPopulation: (e.g. African)\r\nNumber Variant Alleles: (e.g. 12)\r\nTotal Number Alleles Tested: (e.g. 3450)\r\nSource: (e.g. ExAC)\r\nAllele Frequency: (e.g. .0210)\r\n\r\nSelect Desired CI: [allow to enter numerical value]\r\nCI - lower: [return this value]\r\nCI - upper: [return this value]\r\n\r\nAfter Desired CI entered, could this trigger calculation of lower and upper CI values?  The spreadsheet for this is in Asana (Confidence_interval_calculator_SH.xlsx) - you will need to plug in the number of events (Number Variant Alleles) and the sample size (Total Number Alleles Tested) and then you will see the CI lower and upper values appear (as a range).\r\n\r\nUse the \"a proportion or odds\" tab in the excel spreadsheet (the others are for means)."},"comment":{"url":"https://api.github.com/repos/ClinGen/clincoded/issues/comments/231487558","html_url":"https://github.com/ClinGen/clincoded/issues/737#issuecomment-231487558","issue_url":"https://api.github.com/repos/ClinGen/clincoded/issues/737","id":231487558,"user":{"login":"mrmin123","id":4326866,"avatar_url":"https://avatars.githubusercontent.com/u/4326866?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmin123","html_url":"https://github.com/mrmin123","followers_url":"https://api.github.com/users/mrmin123/followers","following_url":"https://api.github.com/users/mrmin123/following{/other_user}","gists_url":"https://api.github.com/users/mrmin123/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmin123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmin123/subscriptions","organizations_url":"https://api.github.com/users/mrmin123/orgs","repos_url":"https://api.github.com/users/mrmin123/repos","events_url":"https://api.github.com/users/mrmin123/events{/privacy}","received_events_url":"https://api.github.com/users/mrmin123/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T22:26:50Z","updated_at":"2016-07-08T22:26:50Z","body":"OK, thanks.\r\n\r\nSome information extracted from spreadsheet so I don't have to stare at pink-purple:\r\n\r\n```\r\nxp: enter number of events in sample\r\nnp: enter sample size/number of subjects\r\nClp: required confidence interval (default: 95)\r\nResult:\r\n\r\nestimated population proportion: =IF(OR(ISBLANK(xp),ISBLANK(np)),\"\",pp)\r\nCI low: = IF(OR(ISBLANK(xp),ISBLANK(np),ISBLANK(CIp)),\"\",(2*np*pp + zp^2 - zp * SQRT(zp^2 + 4*np*pp*qp)) / (2*(np + zp^2)))\r\nCL high: =IF(OR(ISBLANK(xp),ISBLANK(np),ISBLANK(CIp)),\"\",(2*np*pp + zp^2 + zp * SQRT(zp^2 + 4*np*pp*qp)) / (2*(np + zp^2)))\r\n```"}}
{"actor":{"display_login":"mrmin123"}}