{"action":"created","issue":{"url":"https://api.github.com/repos/lamortenera/epicseg/issues/7","repository_url":"https://api.github.com/repos/lamortenera/epicseg","labels_url":"https://api.github.com/repos/lamortenera/epicseg/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/lamortenera/epicseg/issues/7/comments","events_url":"https://api.github.com/repos/lamortenera/epicseg/issues/7/events","html_url":"https://github.com/lamortenera/epicseg/issues/7","id":113856915,"number":7,"title":"Segmentation fail due to neg length vector","user":{"login":"mpi-pebert","id":5285064,"avatar_url":"https://avatars.githubusercontent.com/u/5285064?v=3","gravatar_id":"","url":"https://api.github.com/users/mpi-pebert","html_url":"https://github.com/mpi-pebert","followers_url":"https://api.github.com/users/mpi-pebert/followers","following_url":"https://api.github.com/users/mpi-pebert/following{/other_user}","gists_url":"https://api.github.com/users/mpi-pebert/gists{/gist_id}","starred_url":"https://api.github.com/users/mpi-pebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpi-pebert/subscriptions","organizations_url":"https://api.github.com/users/mpi-pebert/orgs","repos_url":"https://api.github.com/users/mpi-pebert/repos","events_url":"https://api.github.com/users/mpi-pebert/events{/privacy}","received_events_url":"https://api.github.com/users/mpi-pebert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-28T16:07:08Z","updated_at":"2016-04-05T07:33:35Z","closed_at":"2016-04-05T07:33:35Z","body":"I have a problem generating a segmentation for several samples at once (procedure as described in the manual: make the count matrices, normalize the count matrices and then do the segmentation) due to the following error:\r\n\r\n```R\r\nError in .Call(\"kfoots_fillPosteriors\", PACKAGE = \"kfoots\", coords, clusters,  : \r\n      negative length vectors are not allowed\r\n    Calls: <Anonymous> ... do.call -> <Anonymous> -> initAlgo -> fillPosteriors -> .Call\r\n    Execution halted\r\n```\r\n\r\nThe rest of the stdout is as follows:\r\n```R\r\nloading epicseg\r\n    [init] performing PCA on the count matrix \r\n    [init] splitting axes \r\n    [init] computing average seeds \r\n    [init] estimating r parameter \r\n    [init] computing KL divergences \r\n    [init] hierarchical clustering \r\n    [init] filling in posterior matrix\r\n```\r\n\r\nAt first glance, the count matrices look ok - any idea where this is coming from?"},"comment":{"url":"https://api.github.com/repos/lamortenera/epicseg/issues/comments/205700106","html_url":"https://github.com/lamortenera/epicseg/issues/7#issuecomment-205700106","issue_url":"https://api.github.com/repos/lamortenera/epicseg/issues/7","id":205700106,"user":{"login":"mpi-pebert","id":5285064,"avatar_url":"https://avatars.githubusercontent.com/u/5285064?v=3","gravatar_id":"","url":"https://api.github.com/users/mpi-pebert","html_url":"https://github.com/mpi-pebert","followers_url":"https://api.github.com/users/mpi-pebert/followers","following_url":"https://api.github.com/users/mpi-pebert/following{/other_user}","gists_url":"https://api.github.com/users/mpi-pebert/gists{/gist_id}","starred_url":"https://api.github.com/users/mpi-pebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpi-pebert/subscriptions","organizations_url":"https://api.github.com/users/mpi-pebert/orgs","repos_url":"https://api.github.com/users/mpi-pebert/repos","events_url":"https://api.github.com/users/mpi-pebert/events{/privacy}","received_events_url":"https://api.github.com/users/mpi-pebert/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T07:33:35Z","updated_at":"2016-04-05T07:33:35Z","body":"I had the time to work on this big analysis again; installing the current version of Rcpp and re-installing EpiCSeg/kfoots solved the problem. Ticket can be closed."}}