{"action":"created","issue":{"url":"https://api.github.com/repos/SofieVG/FlowSOM/issues/11","repository_url":"https://api.github.com/repos/SofieVG/FlowSOM","labels_url":"https://api.github.com/repos/SofieVG/FlowSOM/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/SofieVG/FlowSOM/issues/11/comments","events_url":"https://api.github.com/repos/SofieVG/FlowSOM/issues/11/events","html_url":"https://github.com/SofieVG/FlowSOM/issues/11","id":333790691,"node_id":"MDU6SXNzdWUzMzM3OTA2OTE=","number":11,"title":"FlowSOM functions cannot be called directly by user","user":{"login":"nruthen","id":40403319,"node_id":"MDQ6VXNlcjQwNDAzMzE5","avatar_url":"https://avatars3.githubusercontent.com/u/40403319?v=4","gravatar_id":"","url":"https://api.github.com/users/nruthen","html_url":"https://github.com/nruthen","followers_url":"https://api.github.com/users/nruthen/followers","following_url":"https://api.github.com/users/nruthen/following{/other_user}","gists_url":"https://api.github.com/users/nruthen/gists{/gist_id}","starred_url":"https://api.github.com/users/nruthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nruthen/subscriptions","organizations_url":"https://api.github.com/users/nruthen/orgs","repos_url":"https://api.github.com/users/nruthen/repos","events_url":"https://api.github.com/users/nruthen/events{/privacy}","received_events_url":"https://api.github.com/users/nruthen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-19T18:37:15Z","updated_at":"2018-06-20T02:00:16Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI having been working through a FlowSOM workflow and I found that a few of the documented functions cannot be called by the user. I checked the FlowSOM Namespace file on Github and found that the functions such as AddFlowFrame, computeBackgroundColor, Dist.MST, and MapDataToCodes are not exported in the Namespace file. This prevents R from finding these functions even if the package is loaded. I would like to be able to use the MapDataToCodes so that I can map new sample data onto an existing plot. Below is the link to an article that I found to be helpful while trying to identify the problem. \r\n\r\nhttp://alyssafrazee.com/2014/01/21/namespaces.html\r\n\r\nI would greatly appreciate any help.\r\nThank you!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SofieVG/FlowSOM/issues/comments/398600084","html_url":"https://github.com/SofieVG/FlowSOM/issues/11#issuecomment-398600084","issue_url":"https://api.github.com/repos/SofieVG/FlowSOM/issues/11","id":398600084,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODYwMDA4NA==","user":{"login":"nruthen","id":40403319,"node_id":"MDQ6VXNlcjQwNDAzMzE5","avatar_url":"https://avatars3.githubusercontent.com/u/40403319?v=4","gravatar_id":"","url":"https://api.github.com/users/nruthen","html_url":"https://github.com/nruthen","followers_url":"https://api.github.com/users/nruthen/followers","following_url":"https://api.github.com/users/nruthen/following{/other_user}","gists_url":"https://api.github.com/users/nruthen/gists{/gist_id}","starred_url":"https://api.github.com/users/nruthen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nruthen/subscriptions","organizations_url":"https://api.github.com/users/nruthen/orgs","repos_url":"https://api.github.com/users/nruthen/repos","events_url":"https://api.github.com/users/nruthen/events{/privacy}","received_events_url":"https://api.github.com/users/nruthen/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T02:00:16Z","updated_at":"2018-06-20T02:00:16Z","author_association":"NONE","body":"\nMy colleague suggested a similar approach. Thank you for your help! \n\n\n> On Jun 19, 2018, at 4:38 PM, SofieVG <notifications@github.com> wrote:\n> \n> Hi,\n> \n> Indeed, typically, I would not expect the end user to use the functions you mention. They might not be fully documented and are therefore not exported by the package. If you are really sure what you are doing and you would want to use them, you could access them by using FlowSOM:::functionName() (3 colons instead of the typical 2), but this is in general not recommended.\n> \n> If your use case is to map new data in a figure, I would recommend using the NewData() function. This function will take a flowframe, apply the same preprocessing steps as in your original FlowSOM call (if any was applied) and then map the data. Returned is a new fsom object with cluster mappings for the new data and adapted node sizes and MFIs etc.\n> \n> Please let me know if you meant a different use case than the one provided by the NewData() function, then I can try to add the functionality you need.\n> \n> Best,\n> Sofie\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n"}}
{"actor":{"display_login":"nruthen"}}