Skip to content

Commit

Permalink
feat: specify library
Browse files Browse the repository at this point in the history
this was already merged for plotly, missed to fix it for ggplot as well
  • Loading branch information
ESCRI11 committed Oct 14, 2024
1 parent de24836 commit 07d65e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/board.signature/R/signature_plot_volcano.R
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ signature_plot_volcano_server <- function(id,
if (showlabel == "no") label <- NULL
if (showlabel == "top10") {
ii <- match(label, pd[["features"]])
rr <- rowMeans(pd$fc[ii, ]**2) + rowMeans(log10(pd$qv[ii, ])**2)
rr <- Matrix::rowMeans(pd$fc[ii, , drop = FALSE]**2) + Matrix::rowMeans(log10(pd$qv[ii, , drop = FALSE])**2)
label <- head(label[order(-rr)], 10)
}

Expand Down

0 comments on commit 07d65e3

Please sign in to comment.