Skip to content

Commit

Permalink
Update network_functions.R
Browse files Browse the repository at this point in the history
fixed the parsing error
  • Loading branch information
noriakis committed Sep 25, 2023
1 parent 5cb8bec commit b3b0840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/network_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ network_graph <- function (kne, type="definition") {
paste0(vs[,1],"_",nn,"_",kne@ID) ,vs[,1])
vs <- do.call(rbind, lapply(vs[,1], function(j) {
c(j,bln,"in_block")
}))
})) |> data.frame() |> `colnames<-`(c("from","to","type"))
list(rbind(es, vs), nn)
}
})
Expand Down

0 comments on commit b3b0840

Please sign in to comment.