We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de00bd8 commit ec35d54Copy full SHA for ec35d54
1 file changed
src/ubic/basecode/math/linearmodels/DesignMatrix.java
@@ -65,6 +65,15 @@ public class DesignMatrix {
65
66
private final Set<String[]> interactions = new LinkedHashSet<>();
67
68
+ /**
69
+ *
70
+ * @return a collection of String arrays. If empty, there are no interactions. Each array represents an interaction
71
+ * in the model. The elements of the array are the terms included in the interaction, as Strings provided when calling addInteraction.
72
+ */
73
+ public Collection<String[]> getInteractionTerms() {
74
+ return interactions;
75
+ }
76
+
77
/**
78
* Only applied for categorical factors.
79
*/
0 commit comments