Plot log-ratios/log-intensities for all unique pairs of data vectors

Share:

Description

Plot log-ratios/log-intensities for all unique pairs of data vectors.

Usage

1
2
3
## S3 method for class 'matrix'
plotMvsAPairs(X, Alab="A", Mlab="M", Alim=c(0, 16), Mlim=c(-1, 1) * diff(Alim), pch=".",
  ..., add=FALSE)

Arguments

X

NxK matrix where N is the number of observations and K is the number of channels.

Alab,Mlab

Labels on the x and y axes.

Alim,Mlim

Plot range on the A and M axes.

pch

Plot symbol used.

...

Additional arguments accepted by points.

add

If TRUE, data points are plotted in the current plot, otherwise a new plot is created.

Details

Log-ratios and log-intensities are calculated for each neighboring pair of channels (columns) and plotted. Thus, in total there will be K-1 data set plotted.

The colors used for the plotted pairs are 1, 2, and so on. To change the colors, use a different color palette.

Value

Returns nothing.

Author(s)

Henrik Bengtsson

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.