{"action":"created","comment":{"url":"https://api.github.com/repos/shapelets/khiva-r/pulls/comments/203616199","pull_request_review_id":138539079,"id":203616199,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzYxNjE5OQ==","diff_hunk":"@@ -107,18 +109,23 @@ FindBestNDiscords <- function(profile, index, n) {\n #' @param profile KHIVA Array with the matrix profile containing the minimum distance of each\n #' subsequence.\n #' @param index KHIVA Array with the matrix profile index containing where each minimum occurs.\n+#' @param m Subsequence length value used to calculate the input matrix profile.\n #' @param n Number of motifs to extract\n+#' @param selfJoin Indicates whether the input profile comes from a self join operation or not. It determines \n+#' whether the mirror similar region is included in the output or not.\n #' @return A list of KHIVA Arrays with the motif distance, the motif indices and the subsequence indices.\n #' @export\n-FindBestNMotifs <- function(profile, index, n) {\n+FindBestNMotifs <- function(profile, index, m, n, selfJoin) {","path":"R/matrix.R","position":null,"original_position":53,"commit_id":"bd1c3e35a539fb7224efcbb379413c4c770d67ac","original_commit_id":"bac8ba052852d5bf75415add50104089c349906b","user":{"login":"dcuestam","id":36133262,"node_id":"MDQ6VXNlcjM2MTMzMjYy","avatar_url":"https://avatars3.githubusercontent.com/u/36133262?v=4","gravatar_id":"","url":"https://api.github.com/users/dcuestam","html_url":"https://github.com/dcuestam","followers_url":"https://api.github.com/users/dcuestam/followers","following_url":"https://api.github.com/users/dcuestam/following{/other_user}","gists_url":"https://api.github.com/users/dcuestam/gists{/gist_id}","starred_url":"https://api.github.com/users/dcuestam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcuestam/subscriptions","organizations_url":"https://api.github.com/users/dcuestam/orgs","repos_url":"https://api.github.com/users/dcuestam/repos","events_url":"https://api.github.com/users/dcuestam/events{/privacy}","received_events_url":"https://api.github.com/users/dcuestam/received_events","type":"User","site_admin":false},"body":"self.join\r\n","created_at":"2018-07-19T06:41:46Z","updated_at":"2018-07-19T06:48:38Z","html_url":"https://github.com/shapelets/khiva-r/pull/17#discussion_r203616199","pull_request_url":"https://api.github.com/repos/shapelets/khiva-r/pulls/17","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/shapelets/khiva-r/pulls/comments/203616199"},"html":{"href":"https://github.com/shapelets/khiva-r/pull/17#discussion_r203616199"},"pull_request":{"href":"https://api.github.com/repos/shapelets/khiva-r/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/shapelets/khiva-r/pulls/17","id":202457673,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNDU3Njcz","html_url":"https://github.com/shapelets/khiva-r/pull/17","diff_url":"https://github.com/shapelets/khiva-r/pull/17.diff","patch_url":"https://github.com/shapelets/khiva-r/pull/17.patch","issue_url":"https://api.github.com/repos/shapelets/khiva-r/issues/17","number":17,"state":"open","locked":false,"title":"Fix in the findBestNMotifs and findBestNDiscords functions to accept …","user":{"login":"otorreno","id":1468827,"node_id":"MDQ6VXNlcjE0Njg4Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1468827?v=4","gravatar_id":"","url":"https://api.github.com/users/otorreno","html_url":"https://github.com/otorreno","followers_url":"https://api.github.com/users/otorreno/followers","following_url":"https://api.github.com/users/otorreno/following{/other_user}","gists_url":"https://api.github.com/users/otorreno/gists{/gist_id}","starred_url":"https://api.github.com/users/otorreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otorreno/subscriptions","organizations_url":"https://api.github.com/users/otorreno/orgs","repos_url":"https://api.github.com/users/otorreno/repos","events_url":"https://api.github.com/users/otorreno/events{/privacy}","received_events_url":"https://api.github.com/users/otorreno/received_events","type":"User","site_admin":false},"body":"…a profile containing the result of comparing multiple series","created_at":"2018-07-19T06:33:19Z","updated_at":"2018-07-19T06:48:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"850d9a1515329371dee6ee0049beeba1564241d1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shapelets/khiva-r/pulls/17/commits","review_comments_url":"https://api.github.com/repos/shapelets/khiva-r/pulls/17/comments","review_comment_url":"https://api.github.com/repos/shapelets/khiva-r/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shapelets/khiva-r/issues/17/comments","statuses_url":"https://api.github.com/repos/shapelets/khiva-r/statuses/bd1c3e35a539fb7224efcbb379413c4c770d67ac","head":{"label":"shapelets:fix/findBestNMotifsAndDiscords","ref":"fix/findBestNMotifsAndDiscords","sha":"bd1c3e35a539fb7224efcbb379413c4c770d67ac","user":{"login":"shapelets","id":39828100,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODI4MTAw","avatar_url":"https://avatars2.githubusercontent.com/u/39828100?v=4","gravatar_id":"","url":"https://api.github.com/users/shapelets","html_url":"https://github.com/shapelets","followers_url":"https://api.github.com/users/shapelets/followers","following_url":"https://api.github.com/users/shapelets/following{/other_user}","gists_url":"https://api.github.com/users/shapelets/gists{/gist_id}","starred_url":"https://api.github.com/users/shapelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shapelets/subscriptions","organizations_url":"https://api.github.com/users/shapelets/orgs","repos_url":"https://api.github.com/users/shapelets/repos","events_url":"https://api.github.com/users/shapelets/events{/privacy}","received_events_url":"https://api.github.com/users/shapelets/received_events","type":"Organization","site_admin":false},"repo":{"id":136471955,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY0NzE5NTU=","name":"khiva-r","full_name":"shapelets/khiva-r","owner":{"login":"shapelets","id":39828100,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODI4MTAw","avatar_url":"https://avatars2.githubusercontent.com/u/39828100?v=4","gravatar_id":"","url":"https://api.github.com/users/shapelets","html_url":"https://github.com/shapelets","followers_url":"https://api.github.com/users/shapelets/followers","following_url":"https://api.github.com/users/shapelets/following{/other_user}","gists_url":"https://api.github.com/users/shapelets/gists{/gist_id}","starred_url":"https://api.github.com/users/shapelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shapelets/subscriptions","organizations_url":"https://api.github.com/users/shapelets/orgs","repos_url":"https://api.github.com/users/shapelets/repos","events_url":"https://api.github.com/users/shapelets/events{/privacy}","received_events_url":"https://api.github.com/users/shapelets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shapelets/khiva-r","description":"R binding for Khiva library.","fork":false,"url":"https://api.github.com/repos/shapelets/khiva-r","forks_url":"https://api.github.com/repos/shapelets/khiva-r/forks","keys_url":"https://api.github.com/repos/shapelets/khiva-r/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shapelets/khiva-r/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shapelets/khiva-r/teams","hooks_url":"https://api.github.com/repos/shapelets/khiva-r/hooks","issue_events_url":"https://api.github.com/repos/shapelets/khiva-r/issues/events{/number}","events_url":"https://api.github.com/repos/shapelets/khiva-r/events","assignees_url":"https://api.github.com/repos/shapelets/khiva-r/assignees{/user}","branches_url":"https://api.github.com/repos/shapelets/khiva-r/branches{/branch}","tags_url":"https://api.github.com/repos/shapelets/khiva-r/tags","blobs_url":"https://api.github.com/repos/shapelets/khiva-r/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shapelets/khiva-r/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shapelets/khiva-r/git/refs{/sha}","trees_url":"https://api.github.com/repos/shapelets/khiva-r/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shapelets/khiva-r/statuses/{sha}","languages_url":"https://api.github.com/repos/shapelets/khiva-r/languages","stargazers_url":"https://api.github.com/repos/shapelets/khiva-r/stargazers","contributors_url":"https://api.github.com/repos/shapelets/khiva-r/contributors","subscribers_url":"https://api.github.com/repos/shapelets/khiva-r/subscribers","subscription_url":"https://api.github.com/repos/shapelets/khiva-r/subscription","commits_url":"https://api.github.com/repos/shapelets/khiva-r/commits{/sha}","git_commits_url":"https://api.github.com/repos/shapelets/khiva-r/git/commits{/sha}","comments_url":"https://api.github.com/repos/shapelets/khiva-r/comments{/number}","issue_comment_url":"https://api.github.com/repos/shapelets/khiva-r/issues/comments{/number}","contents_url":"https://api.github.com/repos/shapelets/khiva-r/contents/{+path}","compare_url":"https://api.github.com/repos/shapelets/khiva-r/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shapelets/khiva-r/merges","archive_url":"https://api.github.com/repos/shapelets/khiva-r/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shapelets/khiva-r/downloads","issues_url":"https://api.github.com/repos/shapelets/khiva-r/issues{/number}","pulls_url":"https://api.github.com/repos/shapelets/khiva-r/pulls{/number}","milestones_url":"https://api.github.com/repos/shapelets/khiva-r/milestones{/number}","notifications_url":"https://api.github.com/repos/shapelets/khiva-r/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shapelets/khiva-r/labels{/name}","releases_url":"https://api.github.com/repos/shapelets/khiva-r/releases{/id}","deployments_url":"https://api.github.com/repos/shapelets/khiva-r/deployments","created_at":"2018-06-07T12:09:11Z","updated_at":"2018-07-13T10:32:45Z","pushed_at":"2018-07-19T06:46:20Z","git_url":"git://github.com/shapelets/khiva-r.git","ssh_url":"git@github.com:shapelets/khiva-r.git","clone_url":"https://github.com/shapelets/khiva-r.git","svn_url":"https://github.com/shapelets/khiva-r","homepage":null,"size":1164,"stargazers_count":3,"watchers_count":3,"language":"R","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"shapelets:master","ref":"master","sha":"ad461ab7b94da8324f72a0bf0322523be7f22b30","user":{"login":"shapelets","id":39828100,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODI4MTAw","avatar_url":"https://avatars2.githubusercontent.com/u/39828100?v=4","gravatar_id":"","url":"https://api.github.com/users/shapelets","html_url":"https://github.com/shapelets","followers_url":"https://api.github.com/users/shapelets/followers","following_url":"https://api.github.com/users/shapelets/following{/other_user}","gists_url":"https://api.github.com/users/shapelets/gists{/gist_id}","starred_url":"https://api.github.com/users/shapelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shapelets/subscriptions","organizations_url":"https://api.github.com/users/shapelets/orgs","repos_url":"https://api.github.com/users/shapelets/repos","events_url":"https://api.github.com/users/shapelets/events{/privacy}","received_events_url":"https://api.github.com/users/shapelets/received_events","type":"Organization","site_admin":false},"repo":{"id":136471955,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY0NzE5NTU=","name":"khiva-r","full_name":"shapelets/khiva-r","owner":{"login":"shapelets","id":39828100,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODI4MTAw","avatar_url":"https://avatars2.githubusercontent.com/u/39828100?v=4","gravatar_id":"","url":"https://api.github.com/users/shapelets","html_url":"https://github.com/shapelets","followers_url":"https://api.github.com/users/shapelets/followers","following_url":"https://api.github.com/users/shapelets/following{/other_user}","gists_url":"https://api.github.com/users/shapelets/gists{/gist_id}","starred_url":"https://api.github.com/users/shapelets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shapelets/subscriptions","organizations_url":"https://api.github.com/users/shapelets/orgs","repos_url":"https://api.github.com/users/shapelets/repos","events_url":"https://api.github.com/users/shapelets/events{/privacy}","received_events_url":"https://api.github.com/users/shapelets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shapelets/khiva-r","description":"R binding for Khiva library.","fork":false,"url":"https://api.github.com/repos/shapelets/khiva-r","forks_url":"https://api.github.com/repos/shapelets/khiva-r/forks","keys_url":"https://api.github.com/repos/shapelets/khiva-r/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shapelets/khiva-r/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shapelets/khiva-r/teams","hooks_url":"https://api.github.com/repos/shapelets/khiva-r/hooks","issue_events_url":"https://api.github.com/repos/shapelets/khiva-r/issues/events{/number}","events_url":"https://api.github.com/repos/shapelets/khiva-r/events","assignees_url":"https://api.github.com/repos/shapelets/khiva-r/assignees{/user}","branches_url":"https://api.github.com/repos/shapelets/khiva-r/branches{/branch}","tags_url":"https://api.github.com/repos/shapelets/khiva-r/tags","blobs_url":"https://api.github.com/repos/shapelets/khiva-r/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shapelets/khiva-r/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shapelets/khiva-r/git/refs{/sha}","trees_url":"https://api.github.com/repos/shapelets/khiva-r/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shapelets/khiva-r/statuses/{sha}","languages_url":"https://api.github.com/repos/shapelets/khiva-r/languages","stargazers_url":"https://api.github.com/repos/shapelets/khiva-r/stargazers","contributors_url":"https://api.github.com/repos/shapelets/khiva-r/contributors","subscribers_url":"https://api.github.com/repos/shapelets/khiva-r/subscribers","subscription_url":"https://api.github.com/repos/shapelets/khiva-r/subscription","commits_url":"https://api.github.com/repos/shapelets/khiva-r/commits{/sha}","git_commits_url":"https://api.github.com/repos/shapelets/khiva-r/git/commits{/sha}","comments_url":"https://api.github.com/repos/shapelets/khiva-r/comments{/number}","issue_comment_url":"https://api.github.com/repos/shapelets/khiva-r/issues/comments{/number}","contents_url":"https://api.github.com/repos/shapelets/khiva-r/contents/{+path}","compare_url":"https://api.github.com/repos/shapelets/khiva-r/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shapelets/khiva-r/merges","archive_url":"https://api.github.com/repos/shapelets/khiva-r/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shapelets/khiva-r/downloads","issues_url":"https://api.github.com/repos/shapelets/khiva-r/issues{/number}","pulls_url":"https://api.github.com/repos/shapelets/khiva-r/pulls{/number}","milestones_url":"https://api.github.com/repos/shapelets/khiva-r/milestones{/number}","notifications_url":"https://api.github.com/repos/shapelets/khiva-r/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shapelets/khiva-r/labels{/name}","releases_url":"https://api.github.com/repos/shapelets/khiva-r/releases{/id}","deployments_url":"https://api.github.com/repos/shapelets/khiva-r/deployments","created_at":"2018-06-07T12:09:11Z","updated_at":"2018-07-13T10:32:45Z","pushed_at":"2018-07-19T06:46:20Z","git_url":"git://github.com/shapelets/khiva-r.git","ssh_url":"git@github.com:shapelets/khiva-r.git","clone_url":"https://github.com/shapelets/khiva-r.git","svn_url":"https://github.com/shapelets/khiva-r","homepage":null,"size":1164,"stargazers_count":3,"watchers_count":3,"language":"R","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shapelets/khiva-r/pulls/17"},"html":{"href":"https://github.com/shapelets/khiva-r/pull/17"},"issue":{"href":"https://api.github.com/repos/shapelets/khiva-r/issues/17"},"comments":{"href":"https://api.github.com/repos/shapelets/khiva-r/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/shapelets/khiva-r/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/shapelets/khiva-r/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shapelets/khiva-r/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/shapelets/khiva-r/statuses/bd1c3e35a539fb7224efcbb379413c4c770d67ac"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"dcuestam"}}