Skip to content

Commit fa2f99f

Browse files
committed
default to "boundary"
1 parent 1726fad commit fa2f99f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

R/aux_logic.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' the left and right exons, respectively.
1414
#' @importFrom magrittr %>%
1515
#' @keywords internal
16-
compute_matches <- function(gr, left_exon, right_exon, type = c("over","in","boundary")) {
16+
compute_matches <- function(gr, left_exon, right_exon, type = c("boundary","over","in")) {
1717
type <- match.arg(type)
1818
gr_matched <- switch(
1919
type,
@@ -283,7 +283,7 @@ candidates_by_presence_v2 <- function(gr, neg_exons, pos_exons) {
283283
#' "boundary" for shared start or end coordinate
284284
#' @return A Hits object with queryHits and subjectHits indices
285285
#' @keywords internal
286-
find_matches_batch <- function(query, subject, type = c("over", "in", "boundary")) {
286+
find_matches_batch <- function(query, subject, type = c("boundary","over", "in")) {
287287
type <- match.arg(type)
288288
switch(type,
289289
"over" = {

R/calc_logic.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ calc_included_exons <- function(gr, type = c("boundary","over","in")) {
113113
#' @param type The type of overlap to consider when identifying mutually exclusive exons.
114114
#' @return A GRanges object with an additional 'event' metadata column indicating mutually exclusive exons.
115115
#' @export
116-
calc_mutually_exclusive <- function(gr, type = c("in", "over", "boundary")) {
116+
calc_mutually_exclusive <- function(gr, type = c("boundary","in", "over")) {
117117
type <- match.arg(type)
118118
# if preprocessing didn't happen
119119
check_preprocessed(gr)

man/calc_ass.Rd renamed to man/calc_alt_ss.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/calc_mutually_exclusive.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/compute_matches.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/find_matches_batch.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)