How to export the output list of csCluster( ) from CummeRbund?
3
1
Entering edit mode
4.9 years ago
LuisNagano ▴ 90

I'm a beginner in bioinformatics and I have a question about how to export the output list of my csCluster () from CummeRbund? So that I can analyze a specific gene cluster that was generated. I haven't found how to do this in the CummeRbund manual.

Thanks

CummeRbund csCluster Cufflinks • 1.6k views
ADD COMMENT
0
Entering edit mode
4.5 years ago

Hi there, I have the same issue. I tried:

> write.csv(ic)
Error in pam(x = n, k = k) : could not find function "pam"

but didn't work. On cummeRbund manual there is:

csCluster Returns a ggplot2 plot object with geom_line layer plotting FPKM values over conditions faceted by k-means clustering clusters.

so I tried:

ggsave("prova",plot=ic,device=pdf)
Saving 7 x 7 in image
Error in UseMethod("grid.draw") : 
no applicable method for 'grid.draw' applied to an object of class "list"

Can anyone help?

ADD COMMENT
0
Entering edit mode
4.5 years ago

I found a workaround. If you are using Rstudio:

options(max.print=1000000)

and then just:

capture.output(data,file="export.txt")

That's all. Not much pro, but worked for me

ADD COMMENT
0
Entering edit mode
3.3 years ago

enter code hereto export the list of cluster and corresponding gene list :

clusterinfo=ic[["clustering"]]

write.table(clusterinfo2,"file.tsv", sep="\t")
ADD COMMENT

Login before adding your answer.

Traffic: 1878 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6