{"action":"closed","number":181,"pull_request":{"url":"https://api.github.com/repos/statgenlmu/coala/pulls/181","id":99445319,"html_url":"https://github.com/statgenlmu/coala/pull/181","diff_url":"https://github.com/statgenlmu/coala/pull/181.diff","patch_url":"https://github.com/statgenlmu/coala/pull/181.patch","issue_url":"https://api.github.com/repos/statgenlmu/coala/issues/181","number":181,"state":"closed","locked":false,"title":"Restrict features to a subgroup of loci","user":{"login":"paulstaab","id":2339377,"avatar_url":"https://avatars.githubusercontent.com/u/2339377?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstaab","html_url":"https://github.com/paulstaab","followers_url":"https://api.github.com/users/paulstaab/followers","following_url":"https://api.github.com/users/paulstaab/following{/other_user}","gists_url":"https://api.github.com/users/paulstaab/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstaab/subscriptions","organizations_url":"https://api.github.com/users/paulstaab/orgs","repos_url":"https://api.github.com/users/paulstaab/repos","events_url":"https://api.github.com/users/paulstaab/events{/privacy}","received_events_url":"https://api.github.com/users/paulstaab/received_events","type":"User","site_admin":false},"body":"Introduces the optional `locus_group` argument for features. This argument allow to use this feature only for a subset of loci in the model. Amoung other things this addresses #161 : \r\n\r\n```R\r\nmodel <- coal_model(4) + \r\n   locus_averaged(10, 100) + \r\n   locus_averaged(10, 100) +\r\n   feat_mutation(5.0, locus_group = 1) +\r\n   feat_mutation(7.5, locus_group = 2) +\r\n   sumstat_seg_sites()\r\nsimulate(model)\r\n```\r\n\r\nHere, the first 10 loci use a mutation rate of `5.0` and the second 10 use a rate of `7.5`.","created_at":"2016-12-27T13:34:54Z","updated_at":"2016-12-27T15:48:04Z","closed_at":"2016-12-27T15:48:04Z","merged_at":"2016-12-27T15:48:04Z","merge_commit_sha":"2a7ad602266730b6fe2a65eb5b1f7af851a2d798","assignee":{"login":"paulstaab","id":2339377,"avatar_url":"https://avatars.githubusercontent.com/u/2339377?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstaab","html_url":"https://github.com/paulstaab","followers_url":"https://api.github.com/users/paulstaab/followers","following_url":"https://api.github.com/users/paulstaab/following{/other_user}","gists_url":"https://api.github.com/users/paulstaab/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstaab/subscriptions","organizations_url":"https://api.github.com/users/paulstaab/orgs","repos_url":"https://api.github.com/users/paulstaab/repos","events_url":"https://api.github.com/users/paulstaab/events{/privacy}","received_events_url":"https://api.github.com/users/paulstaab/received_events","type":"User","site_admin":false},"assignees":[{"login":"paulstaab","id":2339377,"avatar_url":"https://avatars.githubusercontent.com/u/2339377?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstaab","html_url":"https://github.com/paulstaab","followers_url":"https://api.github.com/users/paulstaab/followers","following_url":"https://api.github.com/users/paulstaab/following{/other_user}","gists_url":"https://api.github.com/users/paulstaab/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstaab/subscriptions","organizations_url":"https://api.github.com/users/paulstaab/orgs","repos_url":"https://api.github.com/users/paulstaab/repos","events_url":"https://api.github.com/users/paulstaab/events{/privacy}","received_events_url":"https://api.github.com/users/paulstaab/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/statgenlmu/coala/milestones/9","html_url":"https://github.com/statgenlmu/coala/milestone/9","labels_url":"https://api.github.com/repos/statgenlmu/coala/milestones/9/labels","id":2042236,"number":9,"title":"0.5.0","description":"","creator":{"login":"paulstaab","id":2339377,"avatar_url":"https://avatars.githubusercontent.com/u/2339377?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstaab","html_url":"https://github.com/paulstaab","followers_url":"https://api.github.com/users/paulstaab/followers","following_url":"https://api.github.com/users/paulstaab/following{/other_user}","gists_url":"https://api.github.com/users/paulstaab/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstaab/subscriptions","organizations_url":"https://api.github.com/users/paulstaab/orgs","repos_url":"https://api.github.com/users/paulstaab/repos","events_url":"https://api.github.com/users/paulstaab/events{/privacy}","received_events_url":"https://api.github.com/users/paulstaab/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"open","created_at":"2016-10-02T12:25:01Z","updated_at":"2016-12-27T15:48:04Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/statgenlmu/coala/pulls/181/commits","review_comments_url":"https://api.github.com/repos/statgenlmu/coala/pulls/181/comments","review_comment_url":"https://api.github.com/repos/statgenlmu/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/statgenlmu/coala/issues/181/comments","statuses_url":"https://api.github.com/repos/statgenlmu/coala/statuses/9a0578792b2cf554f0f6e742bd1d2a3793909490","head":{"label":"statgenlmu:locus_features","ref":"locus_features","sha":"9a0578792b2cf554f0f6e742bd1d2a3793909490","user":{"login":"statgenlmu","id":11754122,"avatar_url":"https://avatars.githubusercontent.com/u/11754122?v=3","gravatar_id":"","url":"https://api.github.com/users/statgenlmu","html_url":"https://github.com/statgenlmu","followers_url":"https://api.github.com/users/statgenlmu/followers","following_url":"https://api.github.com/users/statgenlmu/following{/other_user}","gists_url":"https://api.github.com/users/statgenlmu/gists{/gist_id}","starred_url":"https://api.github.com/users/statgenlmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statgenlmu/subscriptions","organizations_url":"https://api.github.com/users/statgenlmu/orgs","repos_url":"https://api.github.com/users/statgenlmu/repos","events_url":"https://api.github.com/users/statgenlmu/events{/privacy}","received_events_url":"https://api.github.com/users/statgenlmu/received_events","type":"Organization","site_admin":false},"repo":{"id":17154867,"name":"coala","full_name":"statgenlmu/coala","owner":{"login":"statgenlmu","id":11754122,"avatar_url":"https://avatars.githubusercontent.com/u/11754122?v=3","gravatar_id":"","url":"https://api.github.com/users/statgenlmu","html_url":"https://github.com/statgenlmu","followers_url":"https://api.github.com/users/statgenlmu/followers","following_url":"https://api.github.com/users/statgenlmu/following{/other_user}","gists_url":"https://api.github.com/users/statgenlmu/gists{/gist_id}","starred_url":"https://api.github.com/users/statgenlmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statgenlmu/subscriptions","organizations_url":"https://api.github.com/users/statgenlmu/orgs","repos_url":"https://api.github.com/users/statgenlmu/repos","events_url":"https://api.github.com/users/statgenlmu/events{/privacy}","received_events_url":"https://api.github.com/users/statgenlmu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statgenlmu/coala","description":"A Framework for Coalescent Simulation in R","fork":false,"url":"https://api.github.com/repos/statgenlmu/coala","forks_url":"https://api.github.com/repos/statgenlmu/coala/forks","keys_url":"https://api.github.com/repos/statgenlmu/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statgenlmu/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statgenlmu/coala/teams","hooks_url":"https://api.github.com/repos/statgenlmu/coala/hooks","issue_events_url":"https://api.github.com/repos/statgenlmu/coala/issues/events{/number}","events_url":"https://api.github.com/repos/statgenlmu/coala/events","assignees_url":"https://api.github.com/repos/statgenlmu/coala/assignees{/user}","branches_url":"https://api.github.com/repos/statgenlmu/coala/branches{/branch}","tags_url":"https://api.github.com/repos/statgenlmu/coala/tags","blobs_url":"https://api.github.com/repos/statgenlmu/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statgenlmu/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statgenlmu/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/statgenlmu/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statgenlmu/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/statgenlmu/coala/languages","stargazers_url":"https://api.github.com/repos/statgenlmu/coala/stargazers","contributors_url":"https://api.github.com/repos/statgenlmu/coala/contributors","subscribers_url":"https://api.github.com/repos/statgenlmu/coala/subscribers","subscription_url":"https://api.github.com/repos/statgenlmu/coala/subscription","commits_url":"https://api.github.com/repos/statgenlmu/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/statgenlmu/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/statgenlmu/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/statgenlmu/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/statgenlmu/coala/contents/{+path}","compare_url":"https://api.github.com/repos/statgenlmu/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statgenlmu/coala/merges","archive_url":"https://api.github.com/repos/statgenlmu/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statgenlmu/coala/downloads","issues_url":"https://api.github.com/repos/statgenlmu/coala/issues{/number}","pulls_url":"https://api.github.com/repos/statgenlmu/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/statgenlmu/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/statgenlmu/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statgenlmu/coala/labels{/name}","releases_url":"https://api.github.com/repos/statgenlmu/coala/releases{/id}","deployments_url":"https://api.github.com/repos/statgenlmu/coala/deployments","created_at":"2014-02-24T23:40:44Z","updated_at":"2016-12-01T07:52:50Z","pushed_at":"2016-12-27T15:48:04Z","git_url":"git://github.com/statgenlmu/coala.git","ssh_url":"git@github.com:statgenlmu/coala.git","clone_url":"https://github.com/statgenlmu/coala.git","svn_url":"https://github.com/statgenlmu/coala","homepage":"","size":1011,"stargazers_count":9,"watchers_count":9,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":9,"default_branch":"master"}},"base":{"label":"statgenlmu:master","ref":"master","sha":"984ddd00cde78ecd9c11b004b4774c6dec834708","user":{"login":"statgenlmu","id":11754122,"avatar_url":"https://avatars.githubusercontent.com/u/11754122?v=3","gravatar_id":"","url":"https://api.github.com/users/statgenlmu","html_url":"https://github.com/statgenlmu","followers_url":"https://api.github.com/users/statgenlmu/followers","following_url":"https://api.github.com/users/statgenlmu/following{/other_user}","gists_url":"https://api.github.com/users/statgenlmu/gists{/gist_id}","starred_url":"https://api.github.com/users/statgenlmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statgenlmu/subscriptions","organizations_url":"https://api.github.com/users/statgenlmu/orgs","repos_url":"https://api.github.com/users/statgenlmu/repos","events_url":"https://api.github.com/users/statgenlmu/events{/privacy}","received_events_url":"https://api.github.com/users/statgenlmu/received_events","type":"Organization","site_admin":false},"repo":{"id":17154867,"name":"coala","full_name":"statgenlmu/coala","owner":{"login":"statgenlmu","id":11754122,"avatar_url":"https://avatars.githubusercontent.com/u/11754122?v=3","gravatar_id":"","url":"https://api.github.com/users/statgenlmu","html_url":"https://github.com/statgenlmu","followers_url":"https://api.github.com/users/statgenlmu/followers","following_url":"https://api.github.com/users/statgenlmu/following{/other_user}","gists_url":"https://api.github.com/users/statgenlmu/gists{/gist_id}","starred_url":"https://api.github.com/users/statgenlmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statgenlmu/subscriptions","organizations_url":"https://api.github.com/users/statgenlmu/orgs","repos_url":"https://api.github.com/users/statgenlmu/repos","events_url":"https://api.github.com/users/statgenlmu/events{/privacy}","received_events_url":"https://api.github.com/users/statgenlmu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statgenlmu/coala","description":"A Framework for Coalescent Simulation in R","fork":false,"url":"https://api.github.com/repos/statgenlmu/coala","forks_url":"https://api.github.com/repos/statgenlmu/coala/forks","keys_url":"https://api.github.com/repos/statgenlmu/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statgenlmu/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statgenlmu/coala/teams","hooks_url":"https://api.github.com/repos/statgenlmu/coala/hooks","issue_events_url":"https://api.github.com/repos/statgenlmu/coala/issues/events{/number}","events_url":"https://api.github.com/repos/statgenlmu/coala/events","assignees_url":"https://api.github.com/repos/statgenlmu/coala/assignees{/user}","branches_url":"https://api.github.com/repos/statgenlmu/coala/branches{/branch}","tags_url":"https://api.github.com/repos/statgenlmu/coala/tags","blobs_url":"https://api.github.com/repos/statgenlmu/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statgenlmu/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statgenlmu/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/statgenlmu/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statgenlmu/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/statgenlmu/coala/languages","stargazers_url":"https://api.github.com/repos/statgenlmu/coala/stargazers","contributors_url":"https://api.github.com/repos/statgenlmu/coala/contributors","subscribers_url":"https://api.github.com/repos/statgenlmu/coala/subscribers","subscription_url":"https://api.github.com/repos/statgenlmu/coala/subscription","commits_url":"https://api.github.com/repos/statgenlmu/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/statgenlmu/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/statgenlmu/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/statgenlmu/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/statgenlmu/coala/contents/{+path}","compare_url":"https://api.github.com/repos/statgenlmu/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statgenlmu/coala/merges","archive_url":"https://api.github.com/repos/statgenlmu/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statgenlmu/coala/downloads","issues_url":"https://api.github.com/repos/statgenlmu/coala/issues{/number}","pulls_url":"https://api.github.com/repos/statgenlmu/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/statgenlmu/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/statgenlmu/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statgenlmu/coala/labels{/name}","releases_url":"https://api.github.com/repos/statgenlmu/coala/releases{/id}","deployments_url":"https://api.github.com/repos/statgenlmu/coala/deployments","created_at":"2014-02-24T23:40:44Z","updated_at":"2016-12-01T07:52:50Z","pushed_at":"2016-12-27T15:48:04Z","git_url":"git://github.com/statgenlmu/coala.git","ssh_url":"git@github.com:statgenlmu/coala.git","clone_url":"https://github.com/statgenlmu/coala.git","svn_url":"https://github.com/statgenlmu/coala","homepage":"","size":1011,"stargazers_count":9,"watchers_count":9,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/statgenlmu/coala/pulls/181"},"html":{"href":"https://github.com/statgenlmu/coala/pull/181"},"issue":{"href":"https://api.github.com/repos/statgenlmu/coala/issues/181"},"comments":{"href":"https://api.github.com/repos/statgenlmu/coala/issues/181/comments"},"review_comments":{"href":"https://api.github.com/repos/statgenlmu/coala/pulls/181/comments"},"review_comment":{"href":"https://api.github.com/repos/statgenlmu/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/statgenlmu/coala/pulls/181/commits"},"statuses":{"href":"https://api.github.com/repos/statgenlmu/coala/statuses/9a0578792b2cf554f0f6e742bd1d2a3793909490"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"paulstaab","id":2339377,"avatar_url":"https://avatars.githubusercontent.com/u/2339377?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstaab","html_url":"https://github.com/paulstaab","followers_url":"https://api.github.com/users/paulstaab/followers","following_url":"https://api.github.com/users/paulstaab/following{/other_user}","gists_url":"https://api.github.com/users/paulstaab/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstaab/subscriptions","organizations_url":"https://api.github.com/users/paulstaab/orgs","repos_url":"https://api.github.com/users/paulstaab/repos","events_url":"https://api.github.com/users/paulstaab/events{/privacy}","received_events_url":"https://api.github.com/users/paulstaab/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":310,"deletions":62,"changed_files":31}}
{"actor":{"display_login":"paulstaab"}}