facetPlot {CAFE} | R Documentation

## 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

### Note

Makes heavy use of the ggplot2 package

### Author(s)

Sander Bollen

### References

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

### See Also

`slidPlot` `rawPlot` `discontPlot`

### Examples

    data("CAFE_data")
    facetPlot(CAFE_data,samples=9)

[Package CAFE version 1.22.0 Index]