segs2Granges: GRanges from segment table

Description Usage Arguments Value See Also

View source: R/segments.R

Description

GenoSet contains a number of functions that work on segments. Many work on a data.frame of segments, like segTable and runCBS. This function converts one of these tables in a GRanges. The three columns specifying the ranges become the GRanges and all other columns go into the 'mcols' portion of the GRanges object.

Usage

1

Arguments

segs

data.frame with loc.start, loc.end, and chrom columns, like from segTable or runCBS

Value

GRanges

See Also

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


genoset documentation built on May 31, 2017, 3:48 p.m.

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