Browse code

Added outlines to annotation exons

Shians authored on 06/05/2022 06:55:50
Showing 3 changed files

... ...
@@ -1,7 +1,7 @@
1 1
 Package: NanoMethViz
2 2
 Type: Package
3 3
 Title: Visualise methlation data from Oxford Nanopore sequencing
4
-Version: 2.3.1
4
+Version: 2.3.2
5 5
 Authors@R: c(
6 6
     person("Shian", "Su", email = "[email protected]", role = c("cre", "aut")))
7 7
 Description: NanoMethViz is a toolkit for visualising methylation data from 
... ...
@@ -1,5 +1,6 @@
1 1
 ### Version 2.4.0
2 2
 * Changed arrows in exon connectors to appear in the middle as open arrow instead of at the end as closed arrow.
3
+* Added black outlines to exons in annotation to distinguish contiguous segments for features like tandem repeats.
3 4
 
4 5
 ### Version 2.2.0
5 6
 * Added `heatmap` argument to `plot_gene()`, `plot_region()` and `plot_granges()`. This adds a read-heatmap to the plot.
... ...
@@ -88,7 +88,8 @@ plot_gene_annotation <- function(exons_df, plot_start, plot_end) {
88 88
                 ymax = .data$y_offset + 0.55
89 89
             ),
90 90
             data = exons_df,
91
-            fill = "#696969"
91
+            fill = "#696969",
92
+            colour = "black"
92 93
         )
93 94
     }
94 95