volcano_Plotly: volcano plotly

volcano_plotlyR Documentation

volcano plotly

Description

volcano plotly

Usage

volcano_plotly(
  .data,
  effect = "fc",
  significance = "BFDR",
  contrast = "condition",
  proteinID = "Prey",
  color = "modelName",
  palette = NULL,
  xintercept = c(-2, 2),
  yintercept = 0.1,
  minsignificance = 1e-04,
  title_size = 25,
  group = "BB"
)

Arguments

.data

data frame

effect

effect size x-axis

significance

significance

proteinID

column with protein ids

xintercept

vertical abline at x

yintercept

horizontal abline at y

Examples


data <- data.frame(fc = c(-1,0,1,2,8), BFDR = c(0.01,1, 0.01, 0.005,0),
condition = rep("A",5), Prey = LETTERS[1:5], modelName = c("A","A","B","A","A"))

dataB <- data.frame(fc = c(-1,0,1,2,8), BFDR = c(0.01,1, 0.01, 0.005,0),
condition = rep("B",5), Prey = LETTERS[1:5],modelName = c("A","A","B","B","B"))
data <- dplyr::bind_rows(data, dataB)
bc <- volcano_plotly(data, xintercept = 1, yintercept= 0.01, palette = c(A = "black" , B = "red"))
bc |> plotly::subplot()


wolski/prolfqua documentation built on Dec. 4, 2024, 11:18 p.m.