Print methods for the results of motifs() and subgraphs()
(cograph_motif_result), extract_motifs()
(cograph_motif_analysis) and motif_census()
(cograph_motifs). Each shows the analysis settings, the number of
units analysed where there are several, and the leading rows of the
results table. as.data.frame() returns the full table.
Arguments
- x
A motif result.
- ...
Passed to
print.data.frame()forcograph_motifs; ignored otherwise.- n
Number of triad rows to show. Default 20.
Examples
print(extract_motifs(regulation_net, min_transitions = 0), n = 5)
#> Motif Analysis
#> Pattern: triangle | Edge method: any
#> Aggregate network | States: 10 | Triads: 19 shown of 19
#>
#> Type distribution:
#> 030T 120C 120D 030C 120U
#> 8.37 3.52 1.92 1.34 1.19
#>
#> Top 5 triads:
#> triad type observed
#> 1 Monitor - Evaluate - Create 120C 1.26
#> 2 Monitor - Create - Share 120C 1.26
#> 3 Plan - Monitor - Share 120U 1.19
#> 4 Plan - Evaluate - Create 030T 1.08
#> 5 Explore - Reflect - Discuss 120D 1.05
