Learn R Programming

CAFE (version 1.8.0)

facetPlot: Plot all chromosomes horizontally next to each other

Description

Plots all chromosomes in horizontal alignment next to each other, with optionally a moving average smoother applied to the data

Usage

facetPlot(datalist,samples=c(1,2),slid=FALSE,combine=FALSE,k=1,file="default")

Arguments

datalist
The CAFE datalist to be analyzed, i.e. the output of ProcessCels.
samples
A vector or sample numbers to be plotted
slid
If TRUE, use moving average smoother
combine
If TRUE, will plot the unaltered raw data in the background
k
The sliding window size. Must be a positive integer, smaller than the length of Affy IDs on the chromosome
file
Specify a file name to store output png file

Value

Plot to file system. Return a ggplot2 graph

References

H. Wickham. ggplot2: elegant graphics for data analysis. Springer New York, 2009.

See Also

slidPlot rawPlot discontPlot

Examples

Run this code
data("CAFE_data")
facetPlot(CAFE_data,samples=9)

Run the code above in your browser using DataLab