Learn R Programming

exomeCopy (version 1.18.0)

compileCopyCountSegments: Compile segments across samples

Description

A short function which extracts the segments of constant copy count using the copyCountSegments function on a named list of named lists containing fitted ExomeCopy objects. See vignette for a full example of multiple samples and chromosomes.

Usage

compileCopyCountSegments(fit.list)

Arguments

fit.list
A named list of named lists. The outer list indexes patients, while the inner list indexes sequences/chromosomes.

Value

A RangedData object of all segments across samples and chromosomes.

Examples

Run this code
  example(exomeCopy)

  # this function requires a named list of named lists
  # as constructed in the vignette
  fit.list <- list(sample1 = list(chr1 = fit))
  CNV.segments <- compileCopyCountSegments(fit.list)

Run the code above in your browser using DataLab