Browse code

Fixed TES location when strand is *

Shians authored on 26/09/2022 01:46:55
Showing 1 changed files

... ...
@@ -111,7 +111,7 @@ plot_agg_tes <- function(
111 111
             start = case_when(
112 112
                 strand == "+" ~ end,
113 113
                 strand == "-" ~ start,
114
-                TRUE ~ start)
114
+                TRUE ~ end)
115 115
         ) %>%
116 116
         mutate(
117 117
             start = start - flank,