CBS segments to probe matrix

Description

Given segments, make an RleDataFrame of Rle objects for each sample

Usage

1
segs2RleDataFrame(seg.list, locs)

Arguments

seg.list

list, list of data frames, one per sample, each is result from CBS

locs

rowRanges from a GenoSet object

Details

Take table of segments from CBS, convert DataTable of Rle objects for each sample.

Value

RleDataFrame with nrows same as locs and one column for each sample

See Also

Other "segmented data": bounds2Rle, rangeSegMeanLength, runCBS, segPairTable, segTable, segs2Granges, segs2Rle

Examples

1
2
3
  data(genoset,package="genoset")
  seg.list = runCBS( genoset.ds[, , "lrr"], rowRanges(genoset.ds), return.segs=TRUE )
  segs2RleDataFrame( seg.list, rowRanges(genoset.ds) )  # Loop segs2Rle on list of data.frames in seg.list

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.