{"action":"created","comment":{"url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/comments/49340643","id":49340643,"diff_hunk":"@@ -219,3 +257,51 @@ genotet.ExpressionPanel.prototype.displayCellInfo = function(geneName,\n     this.hideCellInfo();\n   }.bind(this));\n };\n+\n+/**\n+ * @param {boolean} isGeneRegex Gene input type that is regex or string.\n+ * @param {string} geneInput Gene input.\n+ * @return {!Array<string>} geneNames Names for gene selection.\n+ */\n+genotet.ExpressionPanel.prototype.formatGeneInput = function(isGeneRegex,\n+                                                              geneInput) {\n+  var geneNames = [];\n+  if (isGeneRegex) {\n+    var geneRegex = RegExp(geneInput, 'i');\n+    geneNames = Object.keys(this.data.matrixInfo.allGeneNames)\n+      .filter(function(geneName) {\n+        return geneName.match(geneRegex);\n+      });\n+  } else {\n+    var inputWords = geneInput.split(',');\n+    geneNames = inputWords.filter(function(word) {\n+      return typeof this.data.matrixInfo.allGeneNames[word] != 'undefined';","path":"src/components/expression/expression-panel.js","position":147,"original_position":147,"commit_id":"f8cb6cf3e57e577bd719368a734d37d874df1e8d","original_commit_id":"f8cb6cf3e57e577bd719368a734d37d874df1e8d","user":{"login":"yubowenok","id":1314429,"avatar_url":"https://avatars.githubusercontent.com/u/1314429?v=3","gravatar_id":"","url":"https://api.github.com/users/yubowenok","html_url":"https://github.com/yubowenok","followers_url":"https://api.github.com/users/yubowenok/followers","following_url":"https://api.github.com/users/yubowenok/following{/other_user}","gists_url":"https://api.github.com/users/yubowenok/gists{/gist_id}","starred_url":"https://api.github.com/users/yubowenok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yubowenok/subscriptions","organizations_url":"https://api.github.com/users/yubowenok/orgs","repos_url":"https://api.github.com/users/yubowenok/repos","events_url":"https://api.github.com/users/yubowenok/events{/privacy}","received_events_url":"https://api.github.com/users/yubowenok/received_events","type":"User","site_admin":false},"body":"Please use \"in\".","created_at":"2016-01-11T16:20:43Z","updated_at":"2016-01-11T16:20:43Z","html_url":"https://github.com/ViDA-NYU/genotet/pull/52#discussion_r49340643","pull_request_url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/comments/49340643"},"html":{"href":"https://github.com/ViDA-NYU/genotet/pull/52#discussion_r49340643"},"pull_request":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52","id":55211707,"html_url":"https://github.com/ViDA-NYU/genotet/pull/52","diff_url":"https://github.com/ViDA-NYU/genotet/pull/52.diff","patch_url":"https://github.com/ViDA-NYU/genotet/pull/52.patch","issue_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues/52","number":52,"state":"open","locked":false,"title":"Expression Matrix: Box zoom and matrix row/column manipulation.","user":{"login":"Shauro","id":9913788,"avatar_url":"https://avatars.githubusercontent.com/u/9913788?v=3","gravatar_id":"","url":"https://api.github.com/users/Shauro","html_url":"https://github.com/Shauro","followers_url":"https://api.github.com/users/Shauro/followers","following_url":"https://api.github.com/users/Shauro/following{/other_user}","gists_url":"https://api.github.com/users/Shauro/gists{/gist_id}","starred_url":"https://api.github.com/users/Shauro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shauro/subscriptions","organizations_url":"https://api.github.com/users/Shauro/orgs","repos_url":"https://api.github.com/users/Shauro/repos","events_url":"https://api.github.com/users/Shauro/events{/privacy}","received_events_url":"https://api.github.com/users/Shauro/received_events","type":"User","site_admin":false},"body":"Added TFA profiles in expression matrix.","created_at":"2016-01-06T13:18:41Z","updated_at":"2016-01-11T16:20:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29fea3adb3479b2376a57c354e61eb8cc5d95ede","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52/commits","review_comments_url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52/comments","review_comment_url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues/52/comments","statuses_url":"https://api.github.com/repos/ViDA-NYU/genotet/statuses/f8cb6cf3e57e577bd719368a734d37d874df1e8d","head":{"label":"ViDA-NYU:liana/refactor","ref":"liana/refactor","sha":"f8cb6cf3e57e577bd719368a734d37d874df1e8d","user":{"login":"ViDA-NYU","id":8114708,"avatar_url":"https://avatars.githubusercontent.com/u/8114708?v=3","gravatar_id":"","url":"https://api.github.com/users/ViDA-NYU","html_url":"https://github.com/ViDA-NYU","followers_url":"https://api.github.com/users/ViDA-NYU/followers","following_url":"https://api.github.com/users/ViDA-NYU/following{/other_user}","gists_url":"https://api.github.com/users/ViDA-NYU/gists{/gist_id}","starred_url":"https://api.github.com/users/ViDA-NYU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViDA-NYU/subscriptions","organizations_url":"https://api.github.com/users/ViDA-NYU/orgs","repos_url":"https://api.github.com/users/ViDA-NYU/repos","events_url":"https://api.github.com/users/ViDA-NYU/events{/privacy}","received_events_url":"https://api.github.com/users/ViDA-NYU/received_events","type":"Organization","site_admin":false},"repo":{"id":24764416,"name":"genotet","full_name":"ViDA-NYU/genotet","owner":{"login":"ViDA-NYU","id":8114708,"avatar_url":"https://avatars.githubusercontent.com/u/8114708?v=3","gravatar_id":"","url":"https://api.github.com/users/ViDA-NYU","html_url":"https://github.com/ViDA-NYU","followers_url":"https://api.github.com/users/ViDA-NYU/followers","following_url":"https://api.github.com/users/ViDA-NYU/following{/other_user}","gists_url":"https://api.github.com/users/ViDA-NYU/gists{/gist_id}","starred_url":"https://api.github.com/users/ViDA-NYU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViDA-NYU/subscriptions","organizations_url":"https://api.github.com/users/ViDA-NYU/orgs","repos_url":"https://api.github.com/users/ViDA-NYU/repos","events_url":"https://api.github.com/users/ViDA-NYU/events{/privacy}","received_events_url":"https://api.github.com/users/ViDA-NYU/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ViDA-NYU/genotet","description":"Genotet: An Interactive Web-based Visual Exploration Framework to Support Validation of Gene Regulatory Networks","fork":false,"url":"https://api.github.com/repos/ViDA-NYU/genotet","forks_url":"https://api.github.com/repos/ViDA-NYU/genotet/forks","keys_url":"https://api.github.com/repos/ViDA-NYU/genotet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ViDA-NYU/genotet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ViDA-NYU/genotet/teams","hooks_url":"https://api.github.com/repos/ViDA-NYU/genotet/hooks","issue_events_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues/events{/number}","events_url":"https://api.github.com/repos/ViDA-NYU/genotet/events","assignees_url":"https://api.github.com/repos/ViDA-NYU/genotet/assignees{/user}","branches_url":"https://api.github.com/repos/ViDA-NYU/genotet/branches{/branch}","tags_url":"https://api.github.com/repos/ViDA-NYU/genotet/tags","blobs_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ViDA-NYU/genotet/statuses/{sha}","languages_url":"https://api.github.com/repos/ViDA-NYU/genotet/languages","stargazers_url":"https://api.github.com/repos/ViDA-NYU/genotet/stargazers","contributors_url":"https://api.github.com/repos/ViDA-NYU/genotet/contributors","subscribers_url":"https://api.github.com/repos/ViDA-NYU/genotet/subscribers","subscription_url":"https://api.github.com/repos/ViDA-NYU/genotet/subscription","commits_url":"https://api.github.com/repos/ViDA-NYU/genotet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ViDA-NYU/genotet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ViDA-NYU/genotet/contents/{+path}","compare_url":"https://api.github.com/repos/ViDA-NYU/genotet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ViDA-NYU/genotet/merges","archive_url":"https://api.github.com/repos/ViDA-NYU/genotet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ViDA-NYU/genotet/downloads","issues_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues{/number}","pulls_url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls{/number}","milestones_url":"https://api.github.com/repos/ViDA-NYU/genotet/milestones{/number}","notifications_url":"https://api.github.com/repos/ViDA-NYU/genotet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ViDA-NYU/genotet/labels{/name}","releases_url":"https://api.github.com/repos/ViDA-NYU/genotet/releases{/id}","created_at":"2014-10-03T15:55:16Z","updated_at":"2015-10-13T21:54:24Z","pushed_at":"2016-01-11T16:10:18Z","git_url":"git://github.com/ViDA-NYU/genotet.git","ssh_url":"git@github.com:ViDA-NYU/genotet.git","clone_url":"https://github.com/ViDA-NYU/genotet.git","svn_url":"https://github.com/ViDA-NYU/genotet","homepage":null,"size":1633,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":16,"forks":2,"open_issues":16,"watchers":4,"default_branch":"refactor"}},"base":{"label":"ViDA-NYU:refactor","ref":"refactor","sha":"636430c165702476aaea7e3f087b063d08932310","user":{"login":"ViDA-NYU","id":8114708,"avatar_url":"https://avatars.githubusercontent.com/u/8114708?v=3","gravatar_id":"","url":"https://api.github.com/users/ViDA-NYU","html_url":"https://github.com/ViDA-NYU","followers_url":"https://api.github.com/users/ViDA-NYU/followers","following_url":"https://api.github.com/users/ViDA-NYU/following{/other_user}","gists_url":"https://api.github.com/users/ViDA-NYU/gists{/gist_id}","starred_url":"https://api.github.com/users/ViDA-NYU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViDA-NYU/subscriptions","organizations_url":"https://api.github.com/users/ViDA-NYU/orgs","repos_url":"https://api.github.com/users/ViDA-NYU/repos","events_url":"https://api.github.com/users/ViDA-NYU/events{/privacy}","received_events_url":"https://api.github.com/users/ViDA-NYU/received_events","type":"Organization","site_admin":false},"repo":{"id":24764416,"name":"genotet","full_name":"ViDA-NYU/genotet","owner":{"login":"ViDA-NYU","id":8114708,"avatar_url":"https://avatars.githubusercontent.com/u/8114708?v=3","gravatar_id":"","url":"https://api.github.com/users/ViDA-NYU","html_url":"https://github.com/ViDA-NYU","followers_url":"https://api.github.com/users/ViDA-NYU/followers","following_url":"https://api.github.com/users/ViDA-NYU/following{/other_user}","gists_url":"https://api.github.com/users/ViDA-NYU/gists{/gist_id}","starred_url":"https://api.github.com/users/ViDA-NYU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViDA-NYU/subscriptions","organizations_url":"https://api.github.com/users/ViDA-NYU/orgs","repos_url":"https://api.github.com/users/ViDA-NYU/repos","events_url":"https://api.github.com/users/ViDA-NYU/events{/privacy}","received_events_url":"https://api.github.com/users/ViDA-NYU/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ViDA-NYU/genotet","description":"Genotet: An Interactive Web-based Visual Exploration Framework to Support Validation of Gene Regulatory Networks","fork":false,"url":"https://api.github.com/repos/ViDA-NYU/genotet","forks_url":"https://api.github.com/repos/ViDA-NYU/genotet/forks","keys_url":"https://api.github.com/repos/ViDA-NYU/genotet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ViDA-NYU/genotet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ViDA-NYU/genotet/teams","hooks_url":"https://api.github.com/repos/ViDA-NYU/genotet/hooks","issue_events_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues/events{/number}","events_url":"https://api.github.com/repos/ViDA-NYU/genotet/events","assignees_url":"https://api.github.com/repos/ViDA-NYU/genotet/assignees{/user}","branches_url":"https://api.github.com/repos/ViDA-NYU/genotet/branches{/branch}","tags_url":"https://api.github.com/repos/ViDA-NYU/genotet/tags","blobs_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ViDA-NYU/genotet/statuses/{sha}","languages_url":"https://api.github.com/repos/ViDA-NYU/genotet/languages","stargazers_url":"https://api.github.com/repos/ViDA-NYU/genotet/stargazers","contributors_url":"https://api.github.com/repos/ViDA-NYU/genotet/contributors","subscribers_url":"https://api.github.com/repos/ViDA-NYU/genotet/subscribers","subscription_url":"https://api.github.com/repos/ViDA-NYU/genotet/subscription","commits_url":"https://api.github.com/repos/ViDA-NYU/genotet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ViDA-NYU/genotet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ViDA-NYU/genotet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ViDA-NYU/genotet/contents/{+path}","compare_url":"https://api.github.com/repos/ViDA-NYU/genotet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ViDA-NYU/genotet/merges","archive_url":"https://api.github.com/repos/ViDA-NYU/genotet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ViDA-NYU/genotet/downloads","issues_url":"https://api.github.com/repos/ViDA-NYU/genotet/issues{/number}","pulls_url":"https://api.github.com/repos/ViDA-NYU/genotet/pulls{/number}","milestones_url":"https://api.github.com/repos/ViDA-NYU/genotet/milestones{/number}","notifications_url":"https://api.github.com/repos/ViDA-NYU/genotet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ViDA-NYU/genotet/labels{/name}","releases_url":"https://api.github.com/repos/ViDA-NYU/genotet/releases{/id}","created_at":"2014-10-03T15:55:16Z","updated_at":"2015-10-13T21:54:24Z","pushed_at":"2016-01-11T16:10:18Z","git_url":"git://github.com/ViDA-NYU/genotet.git","ssh_url":"git@github.com:ViDA-NYU/genotet.git","clone_url":"https://github.com/ViDA-NYU/genotet.git","svn_url":"https://github.com/ViDA-NYU/genotet","homepage":null,"size":1633,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":16,"forks":2,"open_issues":16,"watchers":4,"default_branch":"refactor"}},"_links":{"self":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52"},"html":{"href":"https://github.com/ViDA-NYU/genotet/pull/52"},"issue":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/issues/52"},"comments":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/ViDA-NYU/genotet/statuses/f8cb6cf3e57e577bd719368a734d37d874df1e8d"}}}}