maPlot(x, y, logAbundance=NULL, logFC=NULL, normalize=FALSE, plot.it=TRUE,
smearWidth=1, col=NULL, allCol="black", lowCol="orange", deCol="red",
de.tags=NULL, smooth.scatter=FALSE, lowess=FALSE, ...)
NULL
), but in combination with logFC
provides a more direct way to create an MA-plot if the log-abundance and log-fold change are available.NULL
, only to be used together with logAbundance
as both need to be non-null for their values to be used.x
and y
vectors by their sumNULL
, uses allCol
and lowCol
)exactTest
or glmLRT
to identify DE genes. Note that `tag' and `gene' are synonymous here.FALSE
, i.e. produce a regular scatter plotplot
plot.it=TRUE
), and invisibly returns the M
(logFC) and A
(logConc) values used for the plot, plus identifiers w
and v
of genes for which M
and {A} values, or just M
values, respectively, were adjusted to make a nicer looking plot.smearWidth
to the left of the minimum A value.plotSmear
y <- matrix(rnbinom(10000,mu=5,size=2),ncol=4)
maPlot(y[,1], y[,2])
Run the code above in your browser using DataLab