Skip to content

Commit

Permalink
vertical and horizontal lines added
Browse files Browse the repository at this point in the history
  • Loading branch information
kloivenn committed Dec 11, 2020
1 parent d9b01ae commit c30037f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lamp_result_viewer_single_plate.R
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ if(nrow(dupls) > 0) {
}

for( cnr in c( "A1", "A2", "B1", "B2" ) ) {
lc_vLine(v = 25, dasharray = 5, transitionDuration = 0, colour = "#777", place = cnr)
lc_hLine(h = 0.1, dasharray = 5, transitionDuration = 0, colour = "#777", chartId = cnr, addLayer = TRUE)

lc_line(
dat(opacity = getOpacity(highlighted),
lineWidth = ifelse(1:nrow(contents) == highlighted, 3, 1),
Expand All @@ -345,7 +348,7 @@ for( cnr in c( "A1", "A2", "B1", "B2" ) ) {
highlighted <<- -1
last <<- later(clearHighlighted, 0.4, loop)
},
place = cnr)
chartId = cnr, addLayer = TRUE)
}

lc_scatter(dat(opacity = getOpacity(highlighted),
Expand Down

0 comments on commit c30037f

Please sign in to comment.