You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
filter(!Relation_Type=="ku")%>% #use this to supress "ku" relations. Comment this line to show "ku" relations
43
+
filter(!duplicated(Relation))->
44
+
edgeList
45
+
46
+
#This does the same for the v0.2 script, no mutate required since the newer script does the parsing already
47
+
x%>%
48
+
#filter(!Relation_Type=="ku")%>% #use this to supress "ku" relations. Comment this line to show "ku" relations
49
+
#filter(Relation_Type=="ku")%>%#use this to supress all but "ku" relations. Comment this line to show "ku" relations
50
+
#filter(!substr(Derivation_Level,1,4)=="Comb")%>% #use this to supress combinatorially derived relations. Comment this line to show combinatorially derived relations
51
+
filter(!duplicated(Relation))->
52
+
edgeList
53
+
54
+
#This coerces the data frame output above, in the form of an edge list, into network data type.
55
+
#
56
+
57
+
relTnet<- network(edgeList,
58
+
matrix.type='edgelist',
59
+
ignore.eval=FALSE,
60
+
loops=TRUE,
61
+
#directed = FALSE ensure the edges do not overlap. TRUE overlaps edges but provides arrows.
62
+
directed=FALSE,
63
+
#The line below should be multiple=FALSE.
64
+
#That is currently erroring because the output from the relational permutations.R
65
+
# file has multiple instances of the same two vertex with a
66
+
# different relation (e.g. A<B & AkuB)
67
+
# This may be a product of using an incoherent(not previously vetted for consistency) start list.
0 commit comments