Hi Tamas, Thank you, I got it.
Manuel ================================= Dr. Manuel J. Zetina-Rejón Instituto Politécnico Nacional Centro Interdisciplinario de Ciencias Marinas Lab. de Dinámica y Manejo de Ecosistemas Acuáticos Av. Instituto Politénico Nacional S/N Col. Playa Palo de Sta. Rita La Paz, BCS, México CP 23096 Tel. +52 (612) 1234658 Ext. 82452 Fax. +52(612) 1225322 http://www.cicimar.ipn.mx <http://www.cicimar.ipn.mx/> Visualízame http://vizualize.me/mjzetina Google Scholar http://scholar.google.com.mx/citations?user=Whcz9wUAAAAJ&hl=es <http://scholar.google.com.mx/citations?user=Whcz9wUAAAAJ&hl=es> ResearchGate https://www.researchgate.net/profile/Manuel_Zetina-Rejon <https://www.researchgate.net/profile/Manuel_Zetina-Rejon> ================================= > El 07/11/2016, a las 04:42, Tamas Nepusz <[email protected]> escribió: > > Hi and sorry for the late reply, this email has fallen through the > cracks somehow. (I was on the road in China for a few weeks with > limited internet access). > >> On the other hand, motifs() returns a vector with the number of occurences >> of each motif in the graph ordered by their isomorphism class. How do I know >> which isomorphism class are present in my graph. I mean, a possible result >> of motifs(graph, size =3) could be something like this: >>> NA NA 32 18 >> >> For me, this means that there are 32 motifs of x-isomorphic class and other >> 18 motifs of y-isomorphic class. But, which classes? > The i-th element of the vector corresponds to the motif with > isomorphism class i. So, you can indeed use > graph_from_isomorphism_class() to figure out how the motif looks like. > The only catch is that, unlike everything else in R, isomorphism > classes are zero-based, so the two NAs belong to isomorphism classes 0 > (empty graph) and 1 (two vertices connected, and a third isolated > vertex), and then you have 32 occurrences of isomorphism class 2 (V > shape) and 18 occurrences of isomorphism class 3 (full triangle). > > T. > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
