featureBoxPlot: working on...

Usage Arguments Examples

Usage

1
featureBoxPlot(fraction, numFraction)

Arguments

fraction
numFraction

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (fraction, numFraction) 
{
    dev.new(width = 9, height = 7)
    par(mfrow = c(2, 2), mai = c(0.45, 0.65, 0.45, 0.25), cex = 0.75)
    boxplot(fraction$fraction.weight, col = rainbow(numFraction + 
        1), names = paste("F", 1:numFraction, sep = ""), xlab = "Fraction", 
        ylab = "Mass (kDa)", main = "(a)")
    boxplot(fraction$fraction.length, col = rainbow(numFraction + 
        1), names = paste("F", 1:numFraction, sep = ""), ylab = "Length (aa)", 
        main = "(b)")
    boxplot(lapply(fraction$fraction.tryptic, log2), col = rainbow(numFraction + 
        1), names = paste("F", 1:numFraction, sep = ""), ylab = "Log2(Number of Peptides)", 
        main = "(c)")
    boxplot(fraction$fraction.pI, col = rainbow(numFraction + 
        1), names = paste("F", 1:numFraction, sep = ""), ylab = "Isoelectric Point", 
        main = "(d)")
  }

PengyiYang/ReFraction documentation built on May 14, 2019, 11:01 p.m.