{"action":"created","issue":{"url":"https://api.github.com/repos/joey711/phyloseq/issues/423","labels_url":"https://api.github.com/repos/joey711/phyloseq/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/joey711/phyloseq/issues/423/comments","events_url":"https://api.github.com/repos/joey711/phyloseq/issues/423/events","html_url":"https://github.com/joey711/phyloseq/issues/423","id":53683681,"number":423,"title":"export data used to plot graphs","user":{"login":"spamjit","id":10440979,"avatar_url":"https://avatars.githubusercontent.com/u/10440979?v=3","gravatar_id":"","url":"https://api.github.com/users/spamjit","html_url":"https://github.com/spamjit","followers_url":"https://api.github.com/users/spamjit/followers","following_url":"https://api.github.com/users/spamjit/following{/other_user}","gists_url":"https://api.github.com/users/spamjit/gists{/gist_id}","starred_url":"https://api.github.com/users/spamjit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spamjit/subscriptions","organizations_url":"https://api.github.com/users/spamjit/orgs","repos_url":"https://api.github.com/users/spamjit/repos","events_url":"https://api.github.com/users/spamjit/events{/privacy}","received_events_url":"https://api.github.com/users/spamjit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T21:21:34Z","updated_at":"2015-01-07T21:27:34Z","closed_at":"2015-01-07T21:27:34Z","body":"Hi,\r\n\r\nIs there a way to export data into text file in csv or excel format ? I generated a bar chart with abundance in y axis and genus in x axis, now i want to export the data to excel file, but cant find a way to do it. \r\n\r\nthanks."},"comment":{"url":"https://api.github.com/repos/joey711/phyloseq/issues/comments/69095097","html_url":"https://github.com/joey711/phyloseq/issues/423#issuecomment-69095097","issue_url":"https://api.github.com/repos/joey711/phyloseq/issues/423","id":69095097,"user":{"login":"joey711","id":841437,"avatar_url":"https://avatars.githubusercontent.com/u/841437?v=3","gravatar_id":"","url":"https://api.github.com/users/joey711","html_url":"https://github.com/joey711","followers_url":"https://api.github.com/users/joey711/followers","following_url":"https://api.github.com/users/joey711/following{/other_user}","gists_url":"https://api.github.com/users/joey711/gists{/gist_id}","starred_url":"https://api.github.com/users/joey711/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joey711/subscriptions","organizations_url":"https://api.github.com/users/joey711/orgs","repos_url":"https://api.github.com/users/joey711/repos","events_url":"https://api.github.com/users/joey711/events{/privacy}","received_events_url":"https://api.github.com/users/joey711/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T21:27:34Z","updated_at":"2015-01-07T21:27:34Z","body":"Try\r\n\r\n```\r\nwrite.table(as(otu_table(physeq1), \"matrix\"), ...)\r\n```\r\n\r\nFill in your preferred parameters for `write.table` to replace `...` and note that `physeq1` is your phyloseq data object.\r\n\r\nIf you want to export other components you can replace `otu_table` with other accessors.\r\n\r\nWill close for now. Thanks for using phyloseq!\r\n\r\njoey\r\n\r\n"}}