For visualizing copy number alterations, it is often helpful to plot estimates of copy number along with the corresponding estimate of the B allele frequencies. Creating a trellis object for the copy number estimates and a separate trellis object for the B allele frequencies, this function can be used to arrange the two trellis objects side by side on a grid.
arrangeSideBySide(object1, object2)xypanel, xyplot