{"action":"closed","issue":{"url":"https://api.github.com/repos/RGLab/COMPASS/issues/50","repository_url":"https://api.github.com/repos/RGLab/COMPASS","labels_url":"https://api.github.com/repos/RGLab/COMPASS/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/RGLab/COMPASS/issues/50/comments","events_url":"https://api.github.com/repos/RGLab/COMPASS/issues/50/events","html_url":"https://github.com/RGLab/COMPASS/issues/50","id":169691248,"number":50,"title":"COMPASSContainerFromGatingSet error due to the incorrect child node","user":{"login":"mikejiang","id":1385649,"avatar_url":"https://avatars.githubusercontent.com/u/1385649?v=3","gravatar_id":"","url":"https://api.github.com/users/mikejiang","html_url":"https://github.com/mikejiang","followers_url":"https://api.github.com/users/mikejiang/followers","following_url":"https://api.github.com/users/mikejiang/following{/other_user}","gists_url":"https://api.github.com/users/mikejiang/gists{/gist_id}","starred_url":"https://api.github.com/users/mikejiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikejiang/subscriptions","organizations_url":"https://api.github.com/users/mikejiang/orgs","repos_url":"https://api.github.com/users/mikejiang/repos","events_url":"https://api.github.com/users/mikejiang/events{/privacy}","received_events_url":"https://api.github.com/users/mikejiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-05T20:36:47Z","updated_at":"2016-08-05T21:43:14Z","closed_at":"2016-08-05T21:43:14Z","body":"`4+/PD1+` is supplied in `mp` which is contradictory to **parent node** setting `8+`. This failed the validity check of `data` and `counts` in downstream call `COMPASSContainer`. We want to capture this kind of logic error earlier at `COMPASSContainerFromGatingSet` to report the less obscure message.\r\n\r\n>On 08/04/2016 11:43 AM, Morris, Daryl E wrote:\r\n```r\r\n> >       COMPASSContainerFromGatingSet(subgslist,node=\"8+\",swap=FALSE,\r\n> +                individual_id = \"PTID.VISITNO\",\r\n> +                markers=c(\"CD154\",\"GzB\",\"IFNg\", \"IL2\",\"IL4\", \"TNFa\",\"IL21\",\"PD-1\"),\r\n> +                countFilterThreshold = 180, #5000,               \r\n> +                mp = list(\"8+/154+\"   = \"CD154\",\r\n> +                          \"8+/GzB+\"   = \"GzB\",                          \r\n> +                          \"8+/IFNg+\"  = \"IFNg\", \r\n> +                          \"8+/IL2+\"   = \"IL2\", \r\n> +                          \"8+/IL4+\"   = \"IL4\",\r\n> +                          \"8+/TNFa+\"  = \"TNFa\",                         \r\n> +                          \"8+/IL21+\"  = \"IL21\",                         \r\n> +                          \"4+/PD1+\"  =  \"PD-1\")))\r\n> Extracting cell counts\r\n> Fetching 8+\r\n> Fetching child nodes\r\n...\r\n> Extracting single cell data for \r\n>8+/154+|8+/GzB+|8+/IFNg+|8+/IL2+|8+/IL4+|8+/TNFa+|8+/IL21+|4+/PD1+\r\n> ..........................Creating COMPASS Container\r\n> Error : There are entries in 'counts' that are greater than \r\nthe number of rows included in the 'data' matrices.\r\n```\r\n"}}
{"actor":{"display_login":"mikejiang"}}