图论模体是具有明确结构的小型连通诱导子图。这些函数在图中搜索各种模体。
参见
其他图基序: dyad_census()
, motifs()
, sample_motifs()
示例
g <- sample_pa(100)
motifs(g, 3)
#> [1] NA NA 474 NA 90 0 0 0 0 0 0 0 0 0 0 0
count_motifs(g, 3)
#> [1] 564
sample_motifs(g, 3)
#> [1] 400