The size of the motif, currently 3 and 4 are supported only.

cut.prob

Numeric vector giving the probabilities that the search
graph is cut at a certain level. Its length should be the same as the size
of the motif (the size argument). By default no cuts are made.

Value

count_motifs returns a numeric scalar.

Details

count_motifs calculates the total number of motifs of a given
size in graph.