
Plot MA plot from DE analysis results
plotMA(
DEResult,
pThreshold = 0.05,
useFDR = TRUE,
logFCThreshold = 1,
labels = NULL,
fitMethod = "loess"
)
A ggplot object.
A data frame with DE analysis results. The columns are ID, p.value, pFDR, logFC, and aveExpr.
The p-value threshold to color significant points.
Use FDR instead of p-value for significance.
The log2 fold change threshold to color significant points.
named vector of labels to use for points, e.g., c("gene1" = "Gene 1", "gene2" = "Gene 2")
The method to use for fitting the loess line. If NULL then no line is drawn.
# \donttest{
library(RCPA)
library(SummarizedExperiment)
RNASeqDEExperiment <- loadData("RNASeqDEExperiment")
plotObj <- RCPA::plotMA(rowData(RNASeqDEExperiment), logFCThreshold = 0.5) +
ggtitle("RNASeq - GSE153873")
# }
Run the code above in your browser using DataLab