Last data update: 2014.03.03

R: Generation of MXY plots of absolute values
mxy.abs.plotR Documentation

Generation of MXY plots of absolute values

Description

This function produce a MXY plot of absolute values of M including a colour bar.

Usage

mxy.abs.plot(V,Ngc,Ngr,Nsc,Nsr,color.lim,color="red",xlab="Columns",ylab="Rows",...) 

Arguments

V

vector of positive values

Ngc

number of columns for the grid matrix

Ngr

number of rows for the grid matrix

Nsc

number of columns for the spot matrix

Nsr

number of rows for the spot matrix

color.lim

limits of color range for MXY plot

color

color to be used for plot: “red” (default) or “green”

xlab

label of x -axis of MXY plot

ylab

label of y-axis of MXY plot

...

Further optional graphical parameter for the image function generating the MXY plot

Details

The function mxy.abs.plot is similar to function mxy.plot. Details can therefore be found at mxy.plot. Two differences, however, exist: First, mxy.abs.plot plots the absolute value of V and second, “red” (default) or “green” can be chosen as colour of plotting. Hence, mxy.abs.plot facilitates the inspection of spatial artifacts in single fluorescence channels.

Author(s)

Matthias E. Futschik (http://itb.biologie.hu-berlin.de/~futschik)

See Also

v2m, m2v, colorbar.mxy.abs, fgbg.visu, image

Examples

# LOADING DATA
data(sw)
# PLOTTING OF ABSOLUTE LOGGED FOLD-CHANGES
mxy.plot(abs(maM(sw)[,1]),Ngc=maNgc(sw),Ngr=maNgr(sw),Nsc=maNsc(sw),Nsr=maNsr(sw))

# PLOTTING SPATIAL DISTRIBUTION OF SINGLE-CHANNEL INTENSITIES
mxy.abs.plot(maRf(sw)[,1],color.lim=c(0,10000),Ngc=maNgc(sw),Ngr=maNgr(sw),
             Nsc=maNsc(sw),Nsr=maNsr(sw))
mxy.abs.plot(maGf(sw)[,1],color.lim=c(0,10000),color="green",Ngc=maNgc(sw),Ngr=maNgr(sw),
             Nsc=maNsc(sw),Nsr=maNsr(sw))

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(OLIN)
Loading required package: locfit
locfit 1.5-9.1 	 2013-03-22
Loading required package: marray
Loading required package: limma
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/OLIN/mxy.abs.plot.Rd_%03d_medium.png", width=480, height=480)
> ### Name: mxy.abs.plot
> ### Title: Generation of MXY plots of absolute values
> ### Aliases: mxy.abs.plot
> ### Keywords: hplot
> 
> ### ** Examples
> 
> # LOADING DATA
> data(sw)
> # PLOTTING OF ABSOLUTE LOGGED FOLD-CHANGES
> mxy.plot(abs(maM(sw)[,1]),Ngc=maNgc(sw),Ngr=maNgr(sw),Nsc=maNsc(sw),Nsr=maNsr(sw))
> 
> # PLOTTING SPATIAL DISTRIBUTION OF SINGLE-CHANNEL INTENSITIES
> mxy.abs.plot(maRf(sw)[,1],color.lim=c(0,10000),Ngc=maNgc(sw),Ngr=maNgr(sw),
+              Nsc=maNsc(sw),Nsr=maNsr(sw))
> mxy.abs.plot(maGf(sw)[,1],color.lim=c(0,10000),color="green",Ngc=maNgc(sw),Ngr=maNgr(sw),
+              Nsc=maNsc(sw),Nsr=maNsr(sw))
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>