Skip to content

Commit b4d0617

Browse files
authored
Merge pull request #290 from teunbrand/rtracklayer
Fix #289
2 parents 349ef3d + cae5fc1 commit b4d0617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/methods_visualise.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ visualise.IS_discovery <- function(discovery, contrast = NULL, chr = "chr1",
823823
df <- df[ii,]
824824
expnames <- colnames(df)[5:ncol(df)]
825825

826-
df <- data.table(mid = df[["start"]] + df[["end"]]/2,
826+
df <- data.table(mid = (df[["start"]] + df[["end"]])/2,
827827
df[, ..expnames])
828828

829829
showcontrast <- !is.null(contrast) &&

0 commit comments

Comments
 (0)