Skip to content

Commit 86e9702

Browse files
committed
no real change
1 parent 491d123 commit 86e9702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/aux_logic.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ candidates_by_presence_v2 <- function(gr, neg_exons, pos_exons) {
261261

262262
# get the actual exons for the candidates (preserves order of keys)
263263
# exon to the left of the candidates from the neg_exons set
264-
left_exons <- gr |> dplyr::slice(match(left_keys, key))
264+
left_exons <- neg_exons |> dplyr::slice(match(left_keys, key))
265265
# exon to the right of the candidates from the neg_exons set
266-
right_exons <- gr |> dplyr::slice(match(right_keys, key))
266+
right_exons <- neg_exons |> dplyr::slice(match(right_keys, key))
267267

268268
# returns a list of GRanges of same length:
269269
# ‘candidates’ - neg exons that do not overlap any pos exons, and are internal

0 commit comments

Comments
 (0)