Skip to content

Commit

Permalink
nchar to width fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vladpetyuk committed Apr 24, 2024
1 parent f88228b commit 2a4f0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ptm_significance_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ptm_significance_map <- function(x,
adj.P.Val > alpha ~ "steady"),
change = ordered(change, levels=c("up","steady","down")))

d <- data.frame(x1=1, x2=nchar(fst[accession_i]), y1=-1, y2=+1)
d <- data.frame(x1=1, x2=width(fst[accession_i]), y1=-1, y2=+1)

p <- ggplot(data = z) +
geom_rect(data = d,
Expand Down

0 comments on commit 2a4f0fc

Please sign in to comment.