facetPlot: Plot all chromosomes horizontally next to each other

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/facetPlot.R

Description

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

Usage

1
2
 
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

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

CAFE documentation built on Nov. 8, 2020, 7:44 p.m.