Skip to content

Commit

Permalink
process_reaction to work with the ordinal pathways
Browse files Browse the repository at this point in the history
  • Loading branch information
noriakis committed Nov 9, 2023
1 parent a40060d commit 1f18743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/pathway_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ process_reaction <- function(g, single_edge=FALSE) {
## Obtain raw edges
eds <- g |> activate("edges") |> data.frame()
reacs <- eds$reaction |> unique()
reacs <- reacs[!is.na(reacs)]

## Prepare new edges
new_eds <- lapply(seq_along(reacs), function(i) {
Expand Down

0 comments on commit 1f18743

Please sign in to comment.