plotMA | R Documentation |
Plot MA plot from DE analysis results
plotMA(
DEResult,
pThreshold = 0.05,
useFDR = TRUE,
logFCThreshold = 1,
labels = NULL,
fitMethod = "loess"
)
DEResult |
A data frame with DE analysis results. The columns are ID, p.value, pFDR, logFC, and aveExpr. |
pThreshold |
The p-value threshold to color significant points. |
useFDR |
Use FDR instead of p-value for significance. |
logFCThreshold |
The log2 fold change threshold to color significant points. |
labels |
named vector of labels to use for points, e.g., c("gene1" = "Gene 1", "gene2" = "Gene 2") |
fitMethod |
The method to use for fitting the loess line. If NULL then no line is drawn. |
A ggplot object.
library(RCPA)
library(SummarizedExperiment)
RNASeqDEExperiment <- loadData("RNASeqDEExperiment")
plotObj <- RCPA::plotMA(rowData(RNASeqDEExperiment), logFCThreshold = 0.5) +
ggtitle("RNASeq - GSE153873")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.