You can use subgraph_isomorphisms with the lad method and induced=TRUE http://igraph.org/r/doc/subgraph_isomorphisms.html
It will tell you where exactly the motif (i.e. induced subgraph) appears in the graph. On Fri, 19 Oct 2018 at 01:15, Stuart Kininmonth <stuart.kininmo...@usp.ac.fj> wrote: > > > > Hi Igraphers’, > > > > Has anybody developed code in R or python that can find motifs of various > configurations (from 3 and 4 node motifs) that also keeps a list of the node > identities? > > This would then enable me to see the relationship of the node to the other > nodes via the shared motifs. > > > > With thanks > > > > Stuart > > > > > > Stuart Kininmonth PhD > > Deputy Head of School > Senior Lecturer > > :Coral Reef Ecology and Management > :Marine Spatial Planning > > :Marine Geology > School of Marine Studies > Faculty of Science, Technology & Environment > The University of South Pacific > Laucala Bay Road, Suva, Fiji Islands > Tel: (+679) 32 32943 Ext.: 32943 > > stuart.kininmo...@usp.ac.fj > > M: +679 8660103 > > > > > > > > > > _______________________________________________ > igraph-help mailing list > igraph-help@nongnu.org > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help