Skip to content

Commit

Permalink
fix calculation of quartiles in plotTIC()
Browse files Browse the repository at this point in the history
  • Loading branch information
jasenfinch committed Apr 11, 2022
1 parent b50e212 commit 796adbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ setMethod('plotTIC',signature = 'Binalysis',
TICmedian <- TICdat %>%
group_by(Mode) %>%
summarise(Median = median(TIC),
Q1 = Median - IQR(TIC),
Q3 = Median + IQR(TIC),
Q1 = Median - IQR(TIC) / 2,
Q3 = Median + IQR(TIC) / 2,
LowerOut = Q1 - IQR(TIC) * 1.5,
UpperOut = Q3 + IQR(TIC) * 1.5)

Expand Down

0 comments on commit 796adbe

Please sign in to comment.