{"action":"created","comment":{"url":"https://api.github.com/repos/warmflasha/CellTracker/pulls/comments/30183665","id":30183665,"diff_hunk":"@@ -36,10 +38,31 @@\n end\n pts=alldat(:,1:2);\n \n-[~, S]=alphavol(pts,100);%original value 100\n-groups=getUniqueBounds(S.bnd);   % S.bnd - Boundary facets (Px2 or Px3)\n-allinds=assignCellsToColonies(pts,groups);\n-alldat=[alldat full(allinds)];\n+% [~, S]=alphavol(pts,100);%original value 100            \n+% groups=getUniqueBounds(S.bnd);   % S.bnd - Boundary facets (Px2 or Px3)\n+% \n+% \n+% allinds=assignCellsToColonies(pts,groups);\n+% alldat=[alldat full(allinds)];\n+\n+%------------------------------------------ this is where the chice is made\n+if  exist('coltype','var') && coltype == 1    %analysis for the single cell data                           \n+    disp('Running the SC colony analysis');\n+    allinds=NewColoniesAW(pts);\n+    alldat = [alldat, allinds];\n+    groups = max(allinds);\n+    \n+else if  coltype == 0 || ~ exist('coltype','var') % analysis for the circular colonies data; defaule it no coltype variable is specified in the parameterfile","path":"Cytoo/peaksToColonies.m","position":35,"original_position":35,"commit_id":"9d1afbaf0baf5733b9c23c99e46a90fce66f0484","original_commit_id":"9d1afbaf0baf5733b9c23c99e46a90fce66f0484","user":{"login":"warmflasha","id":3965216,"avatar_url":"https://avatars.githubusercontent.com/u/3965216?v=3","gravatar_id":"","url":"https://api.github.com/users/warmflasha","html_url":"https://github.com/warmflasha","followers_url":"https://api.github.com/users/warmflasha/followers","following_url":"https://api.github.com/users/warmflasha/following{/other_user}","gists_url":"https://api.github.com/users/warmflasha/gists{/gist_id}","starred_url":"https://api.github.com/users/warmflasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmflasha/subscriptions","organizations_url":"https://api.github.com/users/warmflasha/orgs","repos_url":"https://api.github.com/users/warmflasha/repos","events_url":"https://api.github.com/users/warmflasha/events{/privacy}","received_events_url":"https://api.github.com/users/warmflasha/received_events","type":"User","site_admin":false},"body":"This statement will cause a crash if coltype does not exist. You need to check for existence first, then check the value.","created_at":"2015-05-12T21:41:12Z","updated_at":"2015-05-12T21:41:12Z","html_url":"https://github.com/warmflasha/CellTracker/pull/11#discussion_r30183665","pull_request_url":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/warmflasha/CellTracker/pulls/comments/30183665"},"html":{"href":"https://github.com/warmflasha/CellTracker/pull/11#discussion_r30183665"},"pull_request":{"href":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11","id":34871945,"html_url":"https://github.com/warmflasha/CellTracker/pull/11","diff_url":"https://github.com/warmflasha/CellTracker/pull/11.diff","patch_url":"https://github.com/warmflasha/CellTracker/pull/11.patch","issue_url":"https://api.github.com/repos/warmflasha/CellTracker/issues/11","number":11,"state":"closed","locked":false,"title":"FinalizedDataAnalysisFunctions and some peakstocolonies modifications","user":{"login":"anemashkalo","id":8796886,"avatar_url":"https://avatars.githubusercontent.com/u/8796886?v=3","gravatar_id":"","url":"https://api.github.com/users/anemashkalo","html_url":"https://github.com/anemashkalo","followers_url":"https://api.github.com/users/anemashkalo/followers","following_url":"https://api.github.com/users/anemashkalo/following{/other_user}","gists_url":"https://api.github.com/users/anemashkalo/gists{/gist_id}","starred_url":"https://api.github.com/users/anemashkalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anemashkalo/subscriptions","organizations_url":"https://api.github.com/users/anemashkalo/orgs","repos_url":"https://api.github.com/users/anemashkalo/repos","events_url":"https://api.github.com/users/anemashkalo/events{/privacy}","received_events_url":"https://api.github.com/users/anemashkalo/received_events","type":"User","site_admin":false},"body":"The new folder \"AN_finalDataAnalysisFunctions\" contains all the necessary files to plot the analysis results. First look at the MMrunscriptsAN, most of the explanation of arguments and functions in there. I tried to generalize the code as much as possible;\r\nAlso please look at the changes to peakstocolonies and runfulltileMM ( I eliminated the need for the peakstocoloniesSC function)\r\n\r\n","created_at":"2015-05-06T23:49:04Z","updated_at":"2015-05-12T21:41:12Z","closed_at":"2015-05-07T21:59:11Z","merged_at":"2015-05-07T21:59:11Z","merge_commit_sha":"2e16e175e710e58509e2c51bec4338bda403b22b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11/commits","review_comments_url":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11/comments","review_comment_url":"https://api.github.com/repos/warmflasha/CellTracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/warmflasha/CellTracker/issues/11/comments","statuses_url":"https://api.github.com/repos/warmflasha/CellTracker/statuses/9d1afbaf0baf5733b9c23c99e46a90fce66f0484","head":{"label":"anemashkalo:master","ref":"master","sha":"9d1afbaf0baf5733b9c23c99e46a90fce66f0484","user":{"login":"anemashkalo","id":8796886,"avatar_url":"https://avatars.githubusercontent.com/u/8796886?v=3","gravatar_id":"","url":"https://api.github.com/users/anemashkalo","html_url":"https://github.com/anemashkalo","followers_url":"https://api.github.com/users/anemashkalo/followers","following_url":"https://api.github.com/users/anemashkalo/following{/other_user}","gists_url":"https://api.github.com/users/anemashkalo/gists{/gist_id}","starred_url":"https://api.github.com/users/anemashkalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anemashkalo/subscriptions","organizations_url":"https://api.github.com/users/anemashkalo/orgs","repos_url":"https://api.github.com/users/anemashkalo/repos","events_url":"https://api.github.com/users/anemashkalo/events{/privacy}","received_events_url":"https://api.github.com/users/anemashkalo/received_events","type":"User","site_admin":false},"repo":{"id":24485483,"name":"CellTracker","full_name":"anemashkalo/CellTracker","owner":{"login":"anemashkalo","id":8796886,"avatar_url":"https://avatars.githubusercontent.com/u/8796886?v=3","gravatar_id":"","url":"https://api.github.com/users/anemashkalo","html_url":"https://github.com/anemashkalo","followers_url":"https://api.github.com/users/anemashkalo/followers","following_url":"https://api.github.com/users/anemashkalo/following{/other_user}","gists_url":"https://api.github.com/users/anemashkalo/gists{/gist_id}","starred_url":"https://api.github.com/users/anemashkalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anemashkalo/subscriptions","organizations_url":"https://api.github.com/users/anemashkalo/orgs","repos_url":"https://api.github.com/users/anemashkalo/repos","events_url":"https://api.github.com/users/anemashkalo/events{/privacy}","received_events_url":"https://api.github.com/users/anemashkalo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anemashkalo/CellTracker","description":"","fork":true,"url":"https://api.github.com/repos/anemashkalo/CellTracker","forks_url":"https://api.github.com/repos/anemashkalo/CellTracker/forks","keys_url":"https://api.github.com/repos/anemashkalo/CellTracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anemashkalo/CellTracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anemashkalo/CellTracker/teams","hooks_url":"https://api.github.com/repos/anemashkalo/CellTracker/hooks","issue_events_url":"https://api.github.com/repos/anemashkalo/CellTracker/issues/events{/number}","events_url":"https://api.github.com/repos/anemashkalo/CellTracker/events","assignees_url":"https://api.github.com/repos/anemashkalo/CellTracker/assignees{/user}","branches_url":"https://api.github.com/repos/anemashkalo/CellTracker/branches{/branch}","tags_url":"https://api.github.com/repos/anemashkalo/CellTracker/tags","blobs_url":"https://api.github.com/repos/anemashkalo/CellTracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anemashkalo/CellTracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anemashkalo/CellTracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/anemashkalo/CellTracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anemashkalo/CellTracker/statuses/{sha}","languages_url":"https://api.github.com/repos/anemashkalo/CellTracker/languages","stargazers_url":"https://api.github.com/repos/anemashkalo/CellTracker/stargazers","contributors_url":"https://api.github.com/repos/anemashkalo/CellTracker/contributors","subscribers_url":"https://api.github.com/repos/anemashkalo/CellTracker/subscribers","subscription_url":"https://api.github.com/repos/anemashkalo/CellTracker/subscription","commits_url":"https://api.github.com/repos/anemashkalo/CellTracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/anemashkalo/CellTracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/anemashkalo/CellTracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/anemashkalo/CellTracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/anemashkalo/CellTracker/contents/{+path}","compare_url":"https://api.github.com/repos/anemashkalo/CellTracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anemashkalo/CellTracker/merges","archive_url":"https://api.github.com/repos/anemashkalo/CellTracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anemashkalo/CellTracker/downloads","issues_url":"https://api.github.com/repos/anemashkalo/CellTracker/issues{/number}","pulls_url":"https://api.github.com/repos/anemashkalo/CellTracker/pulls{/number}","milestones_url":"https://api.github.com/repos/anemashkalo/CellTracker/milestones{/number}","notifications_url":"https://api.github.com/repos/anemashkalo/CellTracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anemashkalo/CellTracker/labels{/name}","releases_url":"https://api.github.com/repos/anemashkalo/CellTracker/releases{/id}","created_at":"2014-09-26T03:54:32Z","updated_at":"2015-05-07T23:09:23Z","pushed_at":"2015-05-07T23:09:23Z","git_url":"git://github.com/anemashkalo/CellTracker.git","ssh_url":"git@github.com:anemashkalo/CellTracker.git","clone_url":"https://github.com/anemashkalo/CellTracker.git","svn_url":"https://github.com/anemashkalo/CellTracker","homepage":null,"size":12556,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"warmflasha:master","ref":"master","sha":"524b6cd8bb6a5a37fba397ebabd6465341d87b4b","user":{"login":"warmflasha","id":3965216,"avatar_url":"https://avatars.githubusercontent.com/u/3965216?v=3","gravatar_id":"","url":"https://api.github.com/users/warmflasha","html_url":"https://github.com/warmflasha","followers_url":"https://api.github.com/users/warmflasha/followers","following_url":"https://api.github.com/users/warmflasha/following{/other_user}","gists_url":"https://api.github.com/users/warmflasha/gists{/gist_id}","starred_url":"https://api.github.com/users/warmflasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmflasha/subscriptions","organizations_url":"https://api.github.com/users/warmflasha/orgs","repos_url":"https://api.github.com/users/warmflasha/repos","events_url":"https://api.github.com/users/warmflasha/events{/privacy}","received_events_url":"https://api.github.com/users/warmflasha/received_events","type":"User","site_admin":false},"repo":{"id":14161482,"name":"CellTracker","full_name":"warmflasha/CellTracker","owner":{"login":"warmflasha","id":3965216,"avatar_url":"https://avatars.githubusercontent.com/u/3965216?v=3","gravatar_id":"","url":"https://api.github.com/users/warmflasha","html_url":"https://github.com/warmflasha","followers_url":"https://api.github.com/users/warmflasha/followers","following_url":"https://api.github.com/users/warmflasha/following{/other_user}","gists_url":"https://api.github.com/users/warmflasha/gists{/gist_id}","starred_url":"https://api.github.com/users/warmflasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmflasha/subscriptions","organizations_url":"https://api.github.com/users/warmflasha/orgs","repos_url":"https://api.github.com/users/warmflasha/repos","events_url":"https://api.github.com/users/warmflasha/events{/privacy}","received_events_url":"https://api.github.com/users/warmflasha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/warmflasha/CellTracker","description":"","fork":false,"url":"https://api.github.com/repos/warmflasha/CellTracker","forks_url":"https://api.github.com/repos/warmflasha/CellTracker/forks","keys_url":"https://api.github.com/repos/warmflasha/CellTracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/warmflasha/CellTracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/warmflasha/CellTracker/teams","hooks_url":"https://api.github.com/repos/warmflasha/CellTracker/hooks","issue_events_url":"https://api.github.com/repos/warmflasha/CellTracker/issues/events{/number}","events_url":"https://api.github.com/repos/warmflasha/CellTracker/events","assignees_url":"https://api.github.com/repos/warmflasha/CellTracker/assignees{/user}","branches_url":"https://api.github.com/repos/warmflasha/CellTracker/branches{/branch}","tags_url":"https://api.github.com/repos/warmflasha/CellTracker/tags","blobs_url":"https://api.github.com/repos/warmflasha/CellTracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/warmflasha/CellTracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/warmflasha/CellTracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/warmflasha/CellTracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/warmflasha/CellTracker/statuses/{sha}","languages_url":"https://api.github.com/repos/warmflasha/CellTracker/languages","stargazers_url":"https://api.github.com/repos/warmflasha/CellTracker/stargazers","contributors_url":"https://api.github.com/repos/warmflasha/CellTracker/contributors","subscribers_url":"https://api.github.com/repos/warmflasha/CellTracker/subscribers","subscription_url":"https://api.github.com/repos/warmflasha/CellTracker/subscription","commits_url":"https://api.github.com/repos/warmflasha/CellTracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/warmflasha/CellTracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/warmflasha/CellTracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/warmflasha/CellTracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/warmflasha/CellTracker/contents/{+path}","compare_url":"https://api.github.com/repos/warmflasha/CellTracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/warmflasha/CellTracker/merges","archive_url":"https://api.github.com/repos/warmflasha/CellTracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/warmflasha/CellTracker/downloads","issues_url":"https://api.github.com/repos/warmflasha/CellTracker/issues{/number}","pulls_url":"https://api.github.com/repos/warmflasha/CellTracker/pulls{/number}","milestones_url":"https://api.github.com/repos/warmflasha/CellTracker/milestones{/number}","notifications_url":"https://api.github.com/repos/warmflasha/CellTracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/warmflasha/CellTracker/labels{/name}","releases_url":"https://api.github.com/repos/warmflasha/CellTracker/releases{/id}","created_at":"2013-11-06T03:01:34Z","updated_at":"2015-05-07T21:59:11Z","pushed_at":"2015-05-12T15:52:07Z","git_url":"git://github.com/warmflasha/CellTracker.git","ssh_url":"git@github.com:warmflasha/CellTracker.git","clone_url":"https://github.com/warmflasha/CellTracker.git","svn_url":"https://github.com/warmflasha/CellTracker","homepage":null,"size":12769,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":1,"forks":18,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11"},"html":{"href":"https://github.com/warmflasha/CellTracker/pull/11"},"issue":{"href":"https://api.github.com/repos/warmflasha/CellTracker/issues/11"},"comments":{"href":"https://api.github.com/repos/warmflasha/CellTracker/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/warmflasha/CellTracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/warmflasha/CellTracker/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/warmflasha/CellTracker/statuses/9d1afbaf0baf5733b9c23c99e46a90fce66f0484"}}}}