Skip to contents

Performs comprehensive sequence comparison analysis between groups. All patterns of the sequences (subsequences of specific length) are extracted from all sequences in each group. The pattern frequencies are compared between the groups using a permutation test. The reported effect size is the difference between the observed test statistic (sum of squared differences between the observed and expected counts) and the mean value over the permutation samples divided by their standard deviation times square root of the number of observations.

Usage

compare_sequences(x, ...)

# Default S3 method
compare_sequences(
  x,
  group,
  sub,
  min_freq = 5L,
  test = TRUE,
  iter = 1000L,
  adjust = "bonferroni",
  actor = NULL,
  ...
)

# S3 method for class 'group_tna'
compare_sequences(
  x,
  sub,
  min_freq = 5L,
  test = TRUE,
  iter = 1000L,
  adjust = "bonferroni",
  actor = NULL,
  ...
)

Arguments

x

A group_tna object or a data.frame containing sequence data in wide format. A group_tna object with scaled edge weights is not resampled (an error of class tna_error_scaling).

...

Not used. A misspelled or unknown argument is an error.

group

A vector indicating the group assignment of each row of the data/sequence. Must have the same length as the number of rows/sequences of x. Alternatively, a single character string giving the column name of the data that defines the group when x is a wide format data.frame or a tna_data object.

sub

An integer vector of pattern lengths to analyze. The default is 1:5 (patterns of length 1 are the states themselves), or up to the number of time points when the sequences are shorter.

min_freq

An integer giving the minimum number of times that a specific pattern has to be observed in each group to be included in the analysis. The default is 5.

test

A logical value indicating whether to test the differences of pattern counts between the groups using a permutation test. The default is TRUE.

iter

An integer giving the number of iterations for the permutation test. The default is 1000.

adjust

A character string naming the multiple comparison correction method (default: "bonferroni"). Supports all stats::p.adjust methods: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none". The adjustment is carried out within sequences of the same length.

actor

An optional actor identifier for sequences nested in actors: a character string naming a non-sequence column of the data, or a vector with one identifier per row/sequence of x (of the data the grouped model was built from, for a group_tna object). When given, the permutation test reassigns whole actors between the groups, and shuffles the sequences of actors present in several groups within the actor (Good, 2005). The default NULL permutes single sequences.

Value

A tna_sequence_comparison object, which is a data.frame with one row per pattern that passes min_freq, and the columns pattern (the states of the pattern joined by ->), freq_<group> (the count of the pattern in each group), prop_<group> (its proportion among the patterns of the same length in the group), and, when test = TRUE, effect_size and p_value (adjusted with adjust).

Examples

# A small subset (100 high and 100 low achievers) without the test
sequences <- rbind(head(group_regulation, 100), tail(group_regulation, 100))
group <- rep(c("High", "Low"), each = 100)
compare_sequences(sequences, group, test = FALSE)
#>                                     pattern freq_High freq_Low   prop_High
#> 1                                     adapt        21       32 0.015283843
#> 2                                  cohesion       107       83 0.077874818
#> 3                                 consensus       360      303 0.262008734
#> 4                                coregulate        86       99 0.062590975
#> 5                                   discuss       207      216 0.150655022
#> 6                                   emotion       164      133 0.119359534
#> 7                                   monitor        69       86 0.050218341
#> 8                                      plan       324      308 0.235807860
#> 9                                 synthesis        36       36 0.026200873
#> 10                          adapt->cohesion         5        8 0.003924647
#> 11                         adapt->consensus        10       14 0.007849294
#> 18                      cohesion->consensus        55       31 0.043171115
#> 19                     cohesion->coregulate         9       11 0.007064364
#> 21                        cohesion->emotion        10        6 0.007849294
#> 23                           cohesion->plan        15       13 0.011773940
#> 26                     consensus->consensus        23       22 0.018053375
#> 27                    consensus->coregulate        49       50 0.038461538
#> 28                       consensus->discuss        86       39 0.067503925
#> 29                       consensus->emotion        30       19 0.023547881
#> 30                       consensus->monitor         7       16 0.005494505
#> 31                          consensus->plan       131      131 0.102825746
#> 35                    coregulate->consensus         7       16 0.005494505
#> 37                      coregulate->discuss         8       29 0.006279435
#> 38                      coregulate->emotion        22       18 0.017268446
#> 39                      coregulate->monitor        11       10 0.008634223
#> 40                         coregulate->plan        23       15 0.018053375
#> 43                        discuss->cohesion        11        6 0.008634223
#> 44                       discuss->consensus        74       49 0.058084772
#> 45                      discuss->coregulate        15       20 0.011773940
#> 46                         discuss->discuss        35       43 0.027472527
#> 47                         discuss->emotion        21       15 0.016483516
#> 50                       discuss->synthesis        29       32 0.022762951
#> 52                        emotion->cohesion        51       43 0.040031397
#> 53                       emotion->consensus        55       39 0.043171115
#> 55                         emotion->discuss        19       11 0.014913658
#> 56                         emotion->emotion         6       15 0.004709576
#> 58                            emotion->plan        15        7 0.011773940
#> 61                       monitor->consensus        15       10 0.011773940
#> 63                         monitor->discuss        19       29 0.014913658
#> 64                         monitor->emotion         6       10 0.004709576
#> 66                            monitor->plan        15       14 0.011773940
#> 69                           plan->cohesion         8        6 0.006279435
#> 70                          plan->consensus        86       92 0.067503925
#> 72                            plan->discuss        21       30 0.016483516
#> 73                            plan->emotion        56       28 0.043956044
#> 74                            plan->monitor        26       21 0.020408163
#> 75                               plan->plan        92      106 0.072213501
#> 77                         synthesis->adapt         7        8 0.005494505
#> 79                     synthesis->consensus        20        9 0.015698587
#> 111               cohesion->consensus->plan        20       14 0.017035775
#> 132               cohesion->plan->consensus         7        5 0.005962521
#> 135                    cohesion->plan->plan         5        5 0.004258944
#> 148              consensus->consensus->plan         7       11 0.005962521
#> 153          consensus->coregulate->discuss         5       17 0.004258944
#> 154          consensus->coregulate->emotion        12        7 0.010221465
#> 156             consensus->coregulate->plan        14        6 0.011925043
#> 159           consensus->discuss->consensus        29        9 0.024701874
#> 161             consensus->discuss->discuss        15        9 0.012776831
#> 165           consensus->discuss->synthesis        15        8 0.012776831
#> 167            consensus->emotion->cohesion         8        7 0.006814310
#> 179              consensus->plan->consensus        34       35 0.028960818
#> 181                consensus->plan->discuss         7       15 0.005962521
#> 182                consensus->plan->emotion        23       12 0.019591141
#> 183                consensus->plan->monitor        10        9 0.008517888
#> 184                   consensus->plan->plan        42       46 0.035775128
#> 211           coregulate->emotion->cohesion         9        8 0.007666099
#> 244          discuss->consensus->coregulate         8       12 0.006814310
#> 246             discuss->consensus->emotion         7        5 0.005962521
#> 248                discuss->consensus->plan        30       20 0.025553663
#> 257             discuss->discuss->consensus        13       11 0.011073254
#> 259               discuss->discuss->discuss         7        7 0.005962521
#> 264              discuss->emotion->cohesion         6        6 0.005110733
#> 265             discuss->emotion->consensus         9        6 0.007666099
#> 279               discuss->synthesis->adapt         5        7 0.004258944
#> 281           discuss->synthesis->consensus        16        9 0.013628620
#> 290            emotion->cohesion->consensus        24       16 0.020442930
#> 295                 emotion->cohesion->plan        10        7 0.008517888
#> 299             emotion->consensus->discuss        11        6 0.009369676
#> 302                emotion->consensus->plan        19       18 0.016183986
#> 341             monitor->discuss->consensus         7        6 0.005962521
#> 355                monitor->plan->consensus         5        8 0.004258944
#> 371             plan->consensus->coregulate        11       11 0.009369676
#> 372                plan->consensus->discuss        21       14 0.017887564
#> 373                plan->consensus->emotion         6        6 0.005110733
#> 375                   plan->consensus->plan        34       43 0.028960818
#> 391                 plan->emotion->cohesion        17        6 0.014480409
#> 392                plan->emotion->consensus        17        6 0.014480409
#> 394                  plan->emotion->discuss        10        5 0.008517888
#> 401                  plan->monitor->discuss         9        5 0.007666099
#> 408                   plan->plan->consensus        21       31 0.017887564
#> 410                     plan->plan->discuss         7        9 0.005962521
#> 411                     plan->plan->emotion        16       11 0.013628620
#> 412                     plan->plan->monitor         9       10 0.007666099
#> 413                        plan->plan->plan        20       35 0.017035775
#> 428              synthesis->consensus->plan         5        7 0.004258944
#> 663  consensus->plan->consensus->coregulate         5        7 0.004629630
#> 664     consensus->plan->consensus->discuss         6        7 0.005555556
#> 667        consensus->plan->consensus->plan        12       16 0.011111111
#> 694        consensus->plan->plan->consensus         6       17 0.005555556
#> 698          consensus->plan->plan->monitor         6        5 0.005555556
#> 699             consensus->plan->plan->plan         7       12 0.006481481
#> 845     discuss->consensus->plan->consensus         9        6 0.008333333
#> 850          discuss->consensus->plan->plan         8        8 0.007407407
#> 960      emotion->cohesion->consensus->plan         7        9 0.006481481
#> 1006         emotion->consensus->plan->plan         5        7 0.004629630
#> 1174       plan->consensus->plan->consensus         7       12 0.006481481
#> 1179            plan->consensus->plan->plan        14       18 0.012962963
#> 1270            plan->plan->consensus->plan        11       17 0.010185185
#> 1300                 plan->plan->plan->plan         7       15 0.006481481
#> 2633      plan->plan->consensus->plan->plan         7        5 0.007007007
#>         prop_Low
#> 1    0.024691358
#> 2    0.064043210
#> 3    0.233796296
#> 4    0.076388889
#> 5    0.166666667
#> 6    0.102623457
#> 7    0.066358025
#> 8    0.237654321
#> 9    0.027777778
#> 10   0.006688963
#> 11   0.011705686
#> 18   0.025919732
#> 19   0.009197324
#> 21   0.005016722
#> 23   0.010869565
#> 26   0.018394649
#> 27   0.041806020
#> 28   0.032608696
#> 29   0.015886288
#> 30   0.013377926
#> 31   0.109531773
#> 35   0.013377926
#> 37   0.024247492
#> 38   0.015050167
#> 39   0.008361204
#> 40   0.012541806
#> 43   0.005016722
#> 44   0.040969900
#> 45   0.016722408
#> 46   0.035953177
#> 47   0.012541806
#> 50   0.026755853
#> 52   0.035953177
#> 53   0.032608696
#> 55   0.009197324
#> 56   0.012541806
#> 58   0.005852843
#> 61   0.008361204
#> 63   0.024247492
#> 64   0.008361204
#> 66   0.011705686
#> 69   0.005016722
#> 70   0.076923077
#> 72   0.025083612
#> 73   0.023411371
#> 74   0.017558528
#> 75   0.088628763
#> 77   0.006688963
#> 79   0.007525084
#> 111  0.012773723
#> 132  0.004562044
#> 135  0.004562044
#> 148  0.010036496
#> 153  0.015510949
#> 154  0.006386861
#> 156  0.005474453
#> 159  0.008211679
#> 161  0.008211679
#> 165  0.007299270
#> 167  0.006386861
#> 179  0.031934307
#> 181  0.013686131
#> 182  0.010948905
#> 183  0.008211679
#> 184  0.041970803
#> 211  0.007299270
#> 244  0.010948905
#> 246  0.004562044
#> 248  0.018248175
#> 257  0.010036496
#> 259  0.006386861
#> 264  0.005474453
#> 265  0.005474453
#> 279  0.006386861
#> 281  0.008211679
#> 290  0.014598540
#> 295  0.006386861
#> 299  0.005474453
#> 302  0.016423358
#> 341  0.005474453
#> 355  0.007299270
#> 371  0.010036496
#> 372  0.012773723
#> 373  0.005474453
#> 375  0.039233577
#> 391  0.005474453
#> 392  0.005474453
#> 394  0.004562044
#> 401  0.004562044
#> 408  0.028284672
#> 410  0.008211679
#> 411  0.010036496
#> 412  0.009124088
#> 413  0.031934307
#> 428  0.006386861
#> 663  0.006986028
#> 664  0.006986028
#> 667  0.015968064
#> 694  0.016966068
#> 698  0.004990020
#> 699  0.011976048
#> 845  0.005988024
#> 850  0.007984032
#> 960  0.008982036
#> 1006 0.006986028
#> 1174 0.011976048
#> 1179 0.017964072
#> 1270 0.016966068
#> 1300 0.014970060
#> 2633 0.005482456
# \donttest{
# With the permutation test (small number of iterations for CRAN)
sequences <- rbind(head(group_regulation, 500), tail(group_regulation, 500))
group <- rep(c("High", "Low"), each = 500)
compare_sequences(sequences, group, sub = 2:3, iter = 20)
#>                               pattern freq_High freq_Low    prop_High
#> 1                     adapt->cohesion        14       46 0.0021817048
#> 2                    adapt->consensus        35       80 0.0054542621
#> 5                      adapt->emotion        10       19 0.0015583606
#> 10                cohesion->consensus       267      160 0.0416082281
#> 11               cohesion->coregulate        37       58 0.0057659342
#> 12                  cohesion->discuss        11       33 0.0017141967
#> 13                  cohesion->emotion        63       49 0.0098176718
#> 14                  cohesion->monitor         9       23 0.0014025245
#> 15                     cohesion->plan        61       46 0.0095059997
#> 17                   consensus->adapt         6        5 0.0009350164
#> 18                consensus->cohesion        40       17 0.0062334424
#> 19               consensus->consensus       161      112 0.0250896057
#> 20              consensus->coregulate       272      310 0.0423874084
#> 21                 consensus->discuss       427      197 0.0665419978
#> 22                 consensus->emotion       138       95 0.0215053763
#> 23                 consensus->monitor        67       73 0.0104410161
#> 24                    consensus->plan       619      650 0.0964625214
#> 25               consensus->synthesis        15        9 0.0023375409
#> 26                  coregulate->adapt        10        6 0.0015583606
#> 27               coregulate->cohesion        16       21 0.0024933770
#> 28              coregulate->consensus        47       84 0.0073242948
#> 29             coregulate->coregulate         6       14 0.0009350164
#> 30                coregulate->discuss       104      179 0.0162069503
#> 31                coregulate->emotion        94       66 0.0146485897
#> 32                coregulate->monitor        43       42 0.0067009506
#> 33                   coregulate->plan       112      107 0.0174536388
#> 34              coregulate->synthesis         6       11 0.0009350164
#> 35                     discuss->adapt        22      109 0.0034283933
#> 36                  discuss->cohesion        64       31 0.0099735079
#> 37                 discuss->consensus       405      227 0.0631136045
#> 38                discuss->coregulate        82       98 0.0127785570
#> 39                   discuss->discuss       155      219 0.0241545894
#> 40                   discuss->emotion       119       90 0.0185444912
#> 41                   discuss->monitor        12       28 0.0018700327
#> 42                      discuss->plan        18       11 0.0028050491
#> 43                 discuss->synthesis       119      169 0.0185444912
#> 45                  emotion->cohesion       253      207 0.0394265233
#> 46                 emotion->consensus       268      200 0.0417640642
#> 47                emotion->coregulate        11       32 0.0017141967
#> 48                   emotion->discuss        91       40 0.0141810815
#> 49                   emotion->emotion        43       69 0.0067009506
#> 50                   emotion->monitor        27       28 0.0042075736
#> 51                      emotion->plan        79       65 0.0123110488
#> 54                  monitor->cohesion        15       31 0.0023375409
#> 55                 monitor->consensus        60       64 0.0093501636
#> 56                monitor->coregulate        16       24 0.0024933770
#> 57                   monitor->discuss       111      147 0.0172978027
#> 58                   monitor->emotion        31       35 0.0048309179
#> 59                   monitor->monitor         7        8 0.0010908524
#> 60                      monitor->plan        66       83 0.0102851800
#> 61                 monitor->synthesis         7        7 0.0010908524
#> 63                     plan->cohesion        46       26 0.0071684588
#> 64                    plan->consensus       422      479 0.0657628175
#> 65                   plan->coregulate        42       14 0.0065451145
#> 66                      plan->discuss        91      122 0.0141810815
#> 67                      plan->emotion       265      189 0.0412965560
#> 68                      plan->monitor        96      131 0.0149602618
#> 69                         plan->plan       484      650 0.0754246533
#> 71                   synthesis->adapt        19       54 0.0029608851
#> 73               synthesis->consensus        98       66 0.0152719339
#> 76                 synthesis->emotion         9       14 0.0014025245
#> 79         adapt->cohesion->consensus         8       21 0.0013520365
#> 88       adapt->consensus->coregulate         9       21 0.0015210411
#> 89          adapt->consensus->discuss        10        9 0.0016900456
#> 92             adapt->consensus->plan         8       25 0.0013520365
#> 123    cohesion->consensus->consensus        27       13 0.0045631232
#> 124   cohesion->consensus->coregulate        31       33 0.0052391415
#> 125      cohesion->consensus->discuss        74       22 0.0125063377
#> 126      cohesion->consensus->emotion        24       12 0.0040561095
#> 128         cohesion->consensus->plan        84       61 0.0141963833
#> 133     cohesion->coregulate->discuss         9       15 0.0015210411
#> 134     cohesion->coregulate->emotion         9        6 0.0015210411
#> 136        cohesion->coregulate->plan        10       13 0.0016900456
#> 146       cohesion->emotion->cohesion        17       13 0.0028730776
#> 147      cohesion->emotion->consensus        21       11 0.0035490958
#> 149        cohesion->emotion->discuss         6        5 0.0010140274
#> 152           cohesion->emotion->plan         6        6 0.0010140274
#> 156        cohesion->monitor->discuss         6       10 0.0010140274
#> 160         cohesion->plan->consensus        17       16 0.0028730776
#> 163           cohesion->plan->emotion        11        5 0.0018590502
#> 165              cohesion->plan->plan        17       17 0.0028730776
#> 173    consensus->cohesion->consensus        19        8 0.0032110867
#> 181   consensus->consensus->consensus        17       11 0.0028730776
#> 182  consensus->consensus->coregulate        19       18 0.0032110867
#> 183     consensus->consensus->discuss        33       15 0.0055771506
#> 184     consensus->consensus->emotion        11        8 0.0018590502
#> 185     consensus->consensus->monitor        12        6 0.0020280548
#> 186        consensus->consensus->plan        48       47 0.0081122190
#> 188      consensus->coregulate->adapt         9        5 0.0015210411
#> 189   consensus->coregulate->cohesion         8       11 0.0013520365
#> 190  consensus->coregulate->consensus        24       47 0.0040561095
#> 191 consensus->coregulate->coregulate         6       10 0.0010140274
#> 192    consensus->coregulate->discuss        63       88 0.0106472875
#> 193    consensus->coregulate->emotion        56       39 0.0094642555
#> 194    consensus->coregulate->monitor        25       21 0.0042251141
#> 195       consensus->coregulate->plan        63       55 0.0106472875
#> 197         consensus->discuss->adapt        11       18 0.0018590502
#> 199     consensus->discuss->consensus       156       39 0.0263647118
#> 200    consensus->discuss->coregulate        31       20 0.0052391415
#> 201       consensus->discuss->discuss        68       41 0.0114923103
#> 202       consensus->discuss->emotion        52       14 0.0087882373
#> 205     consensus->discuss->synthesis        49       39 0.0082812236
#> 207      consensus->emotion->cohesion        31       27 0.0052391415
#> 208     consensus->emotion->consensus        45       30 0.0076052053
#> 211       consensus->emotion->emotion        10       10 0.0016900456
#> 212       consensus->emotion->monitor         7        6 0.0011830319
#> 213          consensus->emotion->plan        11       10 0.0018590502
#> 217     consensus->monitor->consensus         7        8 0.0011830319
#> 219       consensus->monitor->discuss        22       25 0.0037181004
#> 220       consensus->monitor->emotion         8        8 0.0013520365
#> 222          consensus->monitor->plan        16       12 0.0027040730
#> 225         consensus->plan->cohesion        20       11 0.0033800913
#> 226        consensus->plan->consensus       179      174 0.0302518168
#> 228          consensus->plan->discuss        33       47 0.0055771506
#> 229          consensus->plan->emotion        99       70 0.0167314517
#> 230          consensus->plan->monitor        31       42 0.0052391415
#> 231             consensus->plan->plan       196      253 0.0331248944
#> 245   coregulate->cohesion->consensus         7        6 0.0011830319
#> 251  coregulate->consensus->consensus         5       12 0.0008450228
#> 252 coregulate->consensus->coregulate         8       20 0.0013520365
#> 253    coregulate->consensus->discuss         9        9 0.0015210411
#> 256       coregulate->consensus->plan        15       32 0.0025350684
#> 267    coregulate->discuss->consensus        46       45 0.0077742099
#> 268   coregulate->discuss->coregulate        10       14 0.0016900456
#> 269      coregulate->discuss->discuss         8       39 0.0013520365
#> 270      coregulate->discuss->emotion        10       19 0.0016900456
#> 273    coregulate->discuss->synthesis         9       31 0.0015210411
#> 275     coregulate->emotion->cohesion        35       17 0.0059151597
#> 276    coregulate->emotion->consensus        20       16 0.0033800913
#> 278      coregulate->emotion->discuss        14        7 0.0023660639
#> 279      coregulate->emotion->emotion         5        7 0.0008450228
#> 285    coregulate->monitor->consensus         7       10 0.0011830319
#> 287      coregulate->monitor->discuss        15       13 0.0025350684
#> 289         coregulate->monitor->plan        13        8 0.0021970593
#> 292       coregulate->plan->consensus        25       23 0.0042251141
#> 295         coregulate->plan->emotion        20       15 0.0033800913
#> 296         coregulate->plan->monitor         6        7 0.0010140274
#> 297            coregulate->plan->plan        38       46 0.0064221734
#> 304         discuss->adapt->consensus        12       42 0.0020280548
#> 307           discuss->adapt->emotion         5       12 0.0008450228
#> 312      discuss->cohesion->consensus        35       19 0.0059151597
#> 320     discuss->consensus->consensus        34       14 0.0057461551
#> 321    discuss->consensus->coregulate        54       47 0.0091262464
#> 322       discuss->consensus->discuss        97       20 0.0163934426
#> 323       discuss->consensus->emotion        28       19 0.0047321278
#> 324       discuss->consensus->monitor        11       15 0.0018590502
#> 325          discuss->consensus->plan       139       95 0.0234916343
#> 329    discuss->coregulate->consensus         8       11 0.0013520365
#> 330      discuss->coregulate->discuss        19       36 0.0032110867
#> 331      discuss->coregulate->emotion        14       11 0.0023660639
#> 332      discuss->coregulate->monitor         6        8 0.0010140274
#> 333         discuss->coregulate->plan        17       19 0.0028730776
#> 336        discuss->discuss->cohesion         7       10 0.0011830319
#> 337       discuss->discuss->consensus        61       45 0.0103092784
#> 338      discuss->discuss->coregulate         9       19 0.0015210411
#> 339         discuss->discuss->discuss        21       53 0.0035490958
#> 340         discuss->discuss->emotion        16       15 0.0027040730
#> 343       discuss->discuss->synthesis        19       31 0.0032110867
#> 344        discuss->emotion->cohesion        30       29 0.0050701369
#> 345       discuss->emotion->consensus        40       31 0.0067601825
#> 350            discuss->emotion->plan        18       10 0.0030420821
#> 356         discuss->monitor->discuss         5        7 0.0008450228
#> 366         discuss->synthesis->adapt        14       42 0.0023660639
#> 368     discuss->synthesis->consensus        69       57 0.0116613149
#> 377      emotion->cohesion->consensus       126       66 0.0212945750
#> 378     emotion->cohesion->coregulate        22       28 0.0037181004
#> 379        emotion->cohesion->discuss         7       22 0.0011830319
#> 380        emotion->cohesion->emotion        34       29 0.0057461551
#> 382           emotion->cohesion->plan        34       24 0.0057461551
#> 385     emotion->consensus->consensus        26       10 0.0043941186
#> 386    emotion->consensus->coregulate        39       32 0.0065911780
#> 387       emotion->consensus->discuss        61       29 0.0103092784
#> 388       emotion->consensus->emotion        20        7 0.0033800913
#> 389       emotion->consensus->monitor         9        8 0.0015210411
#> 390          emotion->consensus->plan        82       90 0.0138583742
#> 400       emotion->discuss->consensus        34       14 0.0057461551
#> 402         emotion->discuss->discuss        14        5 0.0023660639
#> 406       emotion->discuss->synthesis        11        5 0.0018590502
#> 407        emotion->emotion->cohesion        18       19 0.0030420821
#> 408       emotion->emotion->consensus        14       19 0.0023660639
#> 417         emotion->monitor->discuss         7        8 0.0011830319
#> 423          emotion->plan->consensus        21       18 0.0035490958
#> 426            emotion->plan->emotion        12        5 0.0020280548
#> 428               emotion->plan->plan        24       23 0.0040561095
#> 435      monitor->cohesion->consensus         8       13 0.0013520365
#> 442    monitor->consensus->coregulate        10       12 0.0016900456
#> 443       monitor->consensus->discuss        18        9 0.0030420821
#> 446          monitor->consensus->plan        21       30 0.0035490958
#> 450      monitor->coregulate->discuss         5        5 0.0008450228
#> 455        monitor->discuss->cohesion        14       10 0.0023660639
#> 456       monitor->discuss->consensus        42       27 0.0070981917
#> 457      monitor->discuss->coregulate         7       11 0.0011830319
#> 458         monitor->discuss->discuss        13       30 0.0021970593
#> 459         monitor->discuss->emotion         8       14 0.0013520365
#> 462       monitor->discuss->synthesis        11       23 0.0018590502
#> 463        monitor->emotion->cohesion         5       17 0.0008450228
#> 464       monitor->emotion->consensus        15        8 0.0025350684
#> 474          monitor->plan->consensus        16       24 0.0027040730
#> 477            monitor->plan->emotion        13       11 0.0021970593
#> 479               monitor->plan->plan        30       32 0.0050701369
#> 487         plan->cohesion->consensus        30       13 0.0050701369
#> 493         plan->consensus->cohesion         6        6 0.0010140274
#> 494        plan->consensus->consensus        35       36 0.0059151597
#> 495       plan->consensus->coregulate        72       93 0.0121683285
#> 496          plan->consensus->discuss        85       60 0.0143653879
#> 497          plan->consensus->emotion        29       28 0.0049011323
#> 498          plan->consensus->monitor        22       21 0.0037181004
#> 499             plan->consensus->plan       140      189 0.0236606388
#> 509          plan->discuss->consensus        28       25 0.0047321278
#> 510         plan->discuss->coregulate        11       12 0.0018590502
#> 511            plan->discuss->discuss        15       28 0.0025350684
#> 512            plan->discuss->emotion         7        9 0.0011830319
#> 515          plan->discuss->synthesis        12       19 0.0020280548
#> 517           plan->emotion->cohesion        80       55 0.0135203650
#> 518          plan->emotion->consensus        79       53 0.0133513605
#> 520            plan->emotion->discuss        36       13 0.0060841643
#> 521            plan->emotion->emotion        13       18 0.0021970593
#> 523               plan->emotion->plan        24       15 0.0040561095
#> 526          plan->monitor->consensus        23       24 0.0038871050
#> 528            plan->monitor->discuss        32       37 0.0054081460
#> 529            plan->monitor->emotion         8        9 0.0013520365
#> 531               plan->monitor->plan        14       23 0.0023660639
#> 534              plan->plan->cohesion        12        5 0.0020280548
#> 535             plan->plan->consensus       132      179 0.0223086023
#> 536            plan->plan->coregulate        12        9 0.0020280548
#> 537               plan->plan->discuss        31       48 0.0052391415
#> 538               plan->plan->emotion        83       69 0.0140273787
#> 539               plan->plan->monitor        38       57 0.0064221734
#> 540                  plan->plan->plan       140      232 0.0236606388
#> 546       synthesis->adapt->consensus        10       25 0.0016900456
#> 559   synthesis->consensus->consensus         5        7 0.0008450228
#> 560  synthesis->consensus->coregulate        13       12 0.0021970593
#> 561     synthesis->consensus->discuss        22       10 0.0037181004
#> 564        synthesis->consensus->plan        36       30 0.0060841643
#> 581     synthesis->emotion->consensus         5        5 0.0008450228
#>         prop_Low effect_size p_value
#> 1   0.0072213501  5.84247293       1
#> 2   0.0125588697  7.63722270       1
#> 5   0.0029827316  2.18361087       1
#> 10  0.0251177394  7.66283592       1
#> 11  0.0091051805  1.04417611       1
#> 12  0.0051805338  4.48567944       1
#> 13  0.0076923077  0.73809256       1
#> 14  0.0036106750  3.77088552       1
#> 15  0.0072213501  0.56267850       1
#> 17  0.0007849294 -0.91821007       1
#> 18  0.0026687598  3.52985984       1
#> 19  0.0175824176  4.11869063       1
#> 20  0.0486656201  0.85051887       1
#> 21  0.0309262166 12.39498766       1
#> 22  0.0149136578  3.51543109       1
#> 23  0.0114599686 -0.77359226       1
#> 24  0.1020408163  0.93650567       1
#> 25  0.0014128728  0.84290771       1
#> 26  0.0009419152  0.34981456       1
#> 27  0.0032967033  0.01067958       1
#> 28  0.0131868132  4.69575260       1
#> 29  0.0021978022  1.48029286       1
#> 30  0.0281004710  4.47464625       1
#> 31  0.0103610675  2.10768811       1
#> 32  0.0065934066 -1.45726073       1
#> 33  0.0167974882 -0.88287155       1
#> 34  0.0017268446  1.15167555       1
#> 35  0.0171114600 12.43646041       1
#> 36  0.0048665620  7.25434267       1
#> 37  0.0356357928 15.93983828       1
#> 38  0.0153846154  0.74507728       1
#> 39  0.0343799058  3.90354537       1
#> 40  0.0141287284  1.73404418       1
#> 41  0.0043956044  3.44132886       1
#> 42  0.0017268446  0.85001973       1
#> 43  0.0265306122  4.52930540       1
#> 45  0.0324960754  2.33607435       1
#> 46  0.0313971743  3.79066538       1
#> 47  0.0050235479  4.94567531       1
#> 48  0.0062794349  9.95982042       1
#> 49  0.0108320251  2.01515917       1
#> 50  0.0043956044 -1.27595144       1
#> 51  0.0102040816  1.05493697       1
#> 54  0.0048665620  2.94049366       1
#> 55  0.0100470958 -0.67213069       1
#> 56  0.0037676609  0.73747286       1
#> 57  0.0230769231  1.81912037       1
#> 58  0.0054945055 -0.35726150       1
#> 59  0.0012558870 -1.18945981       1
#> 60  0.0130298273  0.93368426       1
#> 61  0.0010989011 -1.69886407       1
#> 63  0.0040816327  4.52985180       1
#> 64  0.0751962323  2.32636677       1
#> 65  0.0021978022  4.43005171       1
#> 66  0.0191522763  2.46495046       1
#> 67  0.0296703297  7.48980704       1
#> 68  0.0205651491  2.42391692       1
#> 69  0.1020408163  4.97297285       1
#> 71  0.0084772370  4.65537561       1
#> 73  0.0103610675  2.94412961       1
#> 76  0.0021978022  1.34220231       1
#> 79  0.0035775128  4.12334637       1
#> 88  0.0035775128  3.42749916       1
#> 89  0.0015332198 -0.99091391       1
#> 92  0.0042589438  3.65262763       1
#> 123 0.0022146508  2.09383049       1
#> 124 0.0056218058 -0.53753475       1
#> 125 0.0037478705  7.86394371       1
#> 126 0.0020442930  1.74353441       1
#> 128 0.0103918228  1.79746642       1
#> 133 0.0025553663  0.08981944       1
#> 134 0.0010221465 -0.22712362       1
#> 136 0.0022146508 -0.61799428       1
#> 146 0.0022146508 -0.09136898       1
#> 147 0.0018739353  1.33155524       1
#> 149 0.0008517888 -0.93087738       1
#> 152 0.0010221465 -1.82143673       1
#> 156 0.0017035775  0.37395550       1
#> 160 0.0027257240 -0.91790923       1
#> 163 0.0008517888  1.22738147       1
#> 165 0.0028960818 -1.50498740       1
#> 173 0.0013628620  1.76574165       1
#> 181 0.0018739353  0.83095425       1
#> 182 0.0030664395 -0.88650920       1
#> 183 0.0025553663  2.35232943       1
#> 184 0.0013628620 -0.08597164       1
#> 185 0.0010221465  1.54207305       1
#> 186 0.0080068143 -1.12856090       1
#> 188 0.0008517888  0.55510050       1
#> 189 0.0018739353 -0.22004002       1
#> 190 0.0080068143  3.54569107       1
#> 191 0.0017035775  0.31816565       1
#> 192 0.0149914821  1.93348995       1
#> 193 0.0066439523  1.60942976       1
#> 194 0.0035775128 -0.54292378       1
#> 195 0.0093696763 -0.27073538       1
#> 197 0.0030664395  1.44084618       1
#> 199 0.0066439523 10.49118968       1
#> 200 0.0034071550  0.83190084       1
#> 201 0.0069846678  3.27239874       1
#> 202 0.0023850085  5.16538325       1
#> 205 0.0066439523  0.42977522       1
#> 207 0.0045996593 -0.43598868       1
#> 208 0.0051107325  1.32779013       1
#> 211 0.0017035775 -0.78790058       1
#> 212 0.0010221465 -0.92989976       1
#> 213 0.0017035775 -0.94573021       1
#> 217 0.0013628620 -0.72216676       1
#> 219 0.0042589438 -0.65980028       1
#> 220 0.0013628620 -1.16745178       1
#> 222 0.0020442930 -0.13348916       1
#> 225 0.0018739353  1.33751639       1
#> 226 0.0296422487 -0.91416839       1
#> 228 0.0080068143  1.05350263       1
#> 229 0.0119250426  2.03441578       1
#> 230 0.0071550256  0.56345704       1
#> 231 0.0431005111  3.81390524       1
#> 245 0.0010221465 -1.05722793       1
#> 251 0.0020442930  1.64726508       1
#> 252 0.0034071550  2.31995805       1
#> 253 0.0015332198 -1.26191344       1
#> 256 0.0054514480  2.46360586       1
#> 267 0.0076660988 -1.55797027       1
#> 268 0.0023850085  0.17651564       1
#> 269 0.0066439523  3.29857446       1
#> 270 0.0032367973  1.47213147       1
#> 273 0.0052810903  3.39386326       1
#> 275 0.0028960818  4.12664072       1
#> 276 0.0027257240 -0.54173692       1
#> 278 0.0011925043  1.26910558       1
#> 279 0.0011925043 -0.21084264       1
#> 285 0.0017035775 -0.52866380       1
#> 287 0.0022146508 -0.59168802       1
#> 289 0.0013628620  0.44692898       1
#> 292 0.0039182283 -0.99318208       1
#> 295 0.0025553663  0.17195977       1
#> 296 0.0011925043 -1.24332964       1
#> 297 0.0078364566 -0.27326593       1
#> 304 0.0071550256  5.99208647       1
#> 307 0.0020442930  2.38198592       1
#> 312 0.0032367973  3.12887475       1
#> 320 0.0023850085  2.63503398       1
#> 321 0.0080068143 -0.54348247       1
#> 322 0.0034071550 13.14134363       1
#> 323 0.0032367973  1.01485873       1
#> 324 0.0025553663  0.19154387       1
#> 325 0.0161839864  5.31915302       1
#> 329 0.0018739353 -0.24896929       1
#> 330 0.0061328790  1.58664628       1
#> 331 0.0018739353 -0.45149554       1
#> 332 0.0013628620 -0.45304160       1
#> 333 0.0032367973 -0.74894724       1
#> 336 0.0017035775  0.33629946       1
#> 337 0.0076660988  1.70314280       1
#> 338 0.0032367973  1.61885993       1
#> 339 0.0090289608  5.37496614       1
#> 340 0.0025553663 -1.06438855       1
#> 343 0.0052810903  2.08614611       1
#> 344 0.0049403748 -1.21825935       1
#> 345 0.0052810903  0.21901223       1
#> 350 0.0017035775  1.00899108       1
#> 356 0.0011925043 -0.15840211       1
#> 366 0.0071550256  5.28601549       1
#> 368 0.0097103918  0.27522266       1
#> 377 0.0112436116  9.78061254       1
#> 378 0.0047700170 -0.53342860       1
#> 379 0.0037478705  3.36567993       1
#> 380 0.0049403748 -0.42915123       1
#> 382 0.0040885860  0.69631432       1
#> 385 0.0017035775  2.11397775       1
#> 386 0.0054514480 -0.11852475       1
#> 387 0.0049403748  3.68301751       1
#> 388 0.0011925043  4.21301495       1
#> 389 0.0013628620 -0.85721371       1
#> 390 0.0153321976 -0.18749092       1
#> 400 0.0023850085  4.05989248       1
#> 402 0.0008517888  1.50433704       1
#> 406 0.0008517888  1.42257203       1
#> 407 0.0032367973 -1.04045252       1
#> 408 0.0032367973 -0.07755633       1
#> 417 0.0013628620 -0.98132272       1
#> 423 0.0030664395 -0.41994131       1
#> 426 0.0008517888  2.08055949       1
#> 428 0.0039182283 -1.15517135       1
#> 435 0.0022146508  0.23289388       1
#> 442 0.0020442930 -0.72696323       1
#> 443 0.0015332198  2.00288761       1
#> 446 0.0051107325  1.03796313       1
#> 450 0.0008517888 -1.17210574       1
#> 455 0.0017035775  0.04852629       1
#> 456 0.0045996593  2.17190214       1
#> 457 0.0018739353 -0.08683608       1
#> 458 0.0051107325  4.45007411       1
#> 459 0.0023850085  0.47222105       1
#> 462 0.0039182283  2.99762056       1
#> 463 0.0028960818  2.67762402       1
#> 464 0.0013628620  1.31301190       1
#> 474 0.0040885860  0.24931095       1
#> 477 0.0018739353 -0.80830096       1
#> 479 0.0054514480 -0.59791052       1
#> 487 0.0022146508  3.94062510       1
#> 493 0.0010221465 -1.45028517       1
#> 494 0.0061328790 -0.92934796       1
#> 495 0.0158432709  1.17513297       1
#> 496 0.0102214651  2.61087871       1
#> 497 0.0047700170 -0.95769294       1
#> 498 0.0035775128 -0.78801048       1
#> 499 0.0321976150  2.36154452       1
#> 509 0.0042589438 -0.64960011       1
#> 510 0.0020442930 -1.11571928       1
#> 511 0.0047700170  2.22162535       1
#> 512 0.0015332198 -0.50589658       1
#> 515 0.0032367973  0.82597253       1
#> 517 0.0093696763  2.89534099       1
#> 518 0.0090289608  2.81576392       1
#> 520 0.0022146508  6.74011172       1
#> 521 0.0030664395  0.17570982       1
#> 523 0.0025553663  1.00934291       1
#> 526 0.0040885860 -0.81073282       1
#> 528 0.0063032368 -0.33706557       1
#> 529 0.0015332198 -1.09568754       1
#> 531 0.0039182283  1.26021392       1
#> 534 0.0008517888  1.80148567       1
#> 535 0.0304940375  3.20204227       1
#> 536 0.0015332198 -0.47365782       1
#> 537 0.0081771721  2.46960997       1
#> 538 0.0117546848  0.46541949       1
#> 539 0.0097103918  1.83587513       1
#> 540 0.0395229983  3.90355321       1
#> 546 0.0042589438  2.74302715       1
#> 559 0.0011925043 -0.15168068       1
#> 560 0.0020442930 -1.06082617       1
#> 561 0.0017035775  1.97589564       1
#> 564 0.0051107325 -0.23099381       1
#> 581 0.0008517888 -1.16810541       1
# }