segs2RleDataFrame: CBS segments to probe matrix

Description Usage Arguments Details Value See Also Examples

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


Search within the genoset package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.