segs2RleDataFrame {genoset} | R Documentation

## CBS segments to probe matrix

### Description

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

### Usage

    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

      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

[Package genoset version 1.38.0 Index]