igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Enumerating node frequency within motifs


From: Gábor Csárdi
Subject: Re: [igraph] Enumerating node frequency within motifs
Date: Tue, 19 Nov 2013 16:32:29 -0500

Hi,

there is no standalone function for this in igraph, but see
http://stackoverflow.com/questions/12374534/how-to-mine-for-motifs-in-r-with-igraph

In C, you can define a callback function that is called each time a
motif is found, so that is an alternative solution.

Gabor

On Tue, Nov 19, 2013 at 4:14 PM, Thomas Barnum <address@hidden> wrote:
> Hello All,
> Is there a function in igraph that will enumerate the number of times a node
> is found in each position of a 3-node motif? I have the motif counts using
> graph.motifs function, but I am interested in the number of times a node
> occupies a particular position within the motif, for example, the number of
> times node i is found in the B position in a three chain motif A -> B -> C.
> I have been looking on the graph.motifs and isomorphism help pages but to no
> avail. Any suggestions would be greatly appreciated.
> Thank you,
> Tom
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



reply via email to

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