igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Isomorphism


From: Gábor Csárdi
Subject: Re: [igraph] Isomorphism
Date: Mon, 23 Mar 2009 16:20:52 +0100

Hi Anupam,

you didn't really tell what you want to do or what is wrong here, but
based on the name of the second graph, maybe you want subgraph
isomorphisms instead of plains isomorphisms? If this is the case, then
the right function is graph.get.subisomorphisms.vf2().

G.

2009/3/23 anupam sinha <address@hidden>:
>
> Hi Gabor,
>
>                I tried using the following commands. But I am getting an
> empty list as output. Any suggestions??? Thanks in advance.
>
>
>
>> edgelist <-
>> read.table("/home/anupam/Desktop/network_analysis/gerstein_C-programs_network/met_network_yeast.txt",
>> header=TRUE)
>> g <- graph.edgelist(as.matrix(edgelist))
>> graph.isocreate(3,07,directed=TRUE)
> Vertices: 3
> Edges: 3
> Directed: TRUE
> Edges:
>
> [0] 2 -> 1
> [1] 2 -> 0
> [2] 1 -> 0
>> subg<-graph.isocreate(3,07,directed=TRUE)
>> graph.get.isomorphisms.vf2(g,subg)
> list()
>
>
>
> regards,
>
> Anupam
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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