Skip to content

Commit

Permalink
Enable setting the tip_length in the manual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
const-ae committed Aug 14, 2017
1 parent a1853cb commit 7e84859
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/significance_annotation.R
Expand Up @@ -61,6 +61,9 @@ StatSignif <- ggplot2::ggproto("StatSignif", ggplot2::Stat,
if("map_signif_level" %in% colnames(data)){
map_signif_level <- data[["map_signif_level"]]
}
if("tip_length" %in% colnames(data)){
tip_length <- rep(data[["tip_length"]], each=2)
}

if(! is.null(comparisons)){
i <- 0
Expand Down

0 comments on commit 7e84859

Please sign in to comment.