Learn R Programming

MBttest (version 1.0.0)

maplot: MA plot of t-values Against Log Mean

Description

This function is to display MA plot of t-value against log mean.

Usage

maplot(dat, r1, r2, TT, matitle)

Arguments

dat
object outputted by mbetattest containing data ordered by absolution of t-value and rho.
r1
number of replicate libraries in condition 1.
r2
number of replicate libraries in condition 2.
TT
a numeric parameter that gives truncate value of t-values.
matitle
string for MA plot title.

Value

no return value

Details

In MA plot, t-value is in y-axis and log mean in x-axis; Black points gathered nearby zero along log mean are genes without differential expressions or differential splicings while red points scattered out of black points are those of being differentially expressed or differentially spliced.

Examples

Run this code
data(dat) 
maplot(dat=dat,r1=3,r2=3,TT=350,matitle="MA plot")
maplot(dat=dat,r1=3,r2=3,TT=50,matitle="MA plot")

Run the code above in your browser using DataLab