Skip to content

Commit 191b81e

Browse files
committed
remove guide lines from volcano plot
1 parent a8eda9b commit 191b81e

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

R/plotMethods.R

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -337,25 +337,6 @@ plotVolcano.FRASER <- function(object, sampleID,
337337
theme(legend.position="none") +
338338
scale_color_manual(values=c("gray40", "firebrick"))
339339

340-
if(!is.na(deltaPsiCutoff)){
341-
g <- g +
342-
geom_vline(xintercept=c(-deltaPsiCutoff, deltaPsiCutoff),
343-
color="firebrick", linetype=2)
344-
}
345-
346-
if(!is.na(padjCutoff)){
347-
if(dt[padj <= padjCutoff, .N] > 0){
348-
padj_line <- min(dt[padj <= padjCutoff, -log10(pval)])
349-
padj_line <- min(dt[padj <= padjCutoff, -log10(pval)])
350-
}
351-
if(!"padj_line" %in% ls() || padj_line > 10 || is.na(padj_line)){
352-
padj_line <- 6
353-
}
354-
g <- g +
355-
geom_hline(yintercept=padj_line, color="firebrick", linetype=4)
356-
}
357-
358-
359340
if(isFALSE(basePlot)){
360341
g <- g + xlab(paste("delta",
361342
ggplotLabelPsi(type, asCharacter=TRUE)[[1]])) +

0 commit comments

Comments
 (0)