igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] problems in saving the igraph object as txt file


From: anupam sinha
Subject: [igraph] problems in saving the igraph object as txt file
Date: Tue, 31 Mar 2009 11:28:36 +0530

Dear all,
             I am using the following command-line statements to find subgraphs in a metabolic network and saving it in the text format.


edgelist <- read.table("/home/path to edgelist file/met_network_yeast.txt", header=TRUE)
 g <- graph.edgelist(as.matrix(edgelist),directed=TRUE)
subg<-graph.isocreate(3,07,directed=TRUE)
 motifs<-graph.get.subisomorphisms.vf2(g,subg)
save(motifs,file="/home/anupam/Desktop/network_analysis/motif.txt")


But the resultant text-file (motif.txt) is unreadable.Following error is encountered while opening it using the "gedit".

gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file


Any help in this regard will appreciated.



Regards,

Anupam

reply via email to

[Prev in Thread] Current Thread [Next in Thread]