Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getGRangesFormat

Get segments on the GRanges format


Description

The segments data frame obtained e.g. by pcf, multipcf or aspcf is converted to the GRanges format.

Usage

getGRangesFormat(segments)

Arguments

segments

a data frame containing segmentation results found by e.g. pcf, multipcf or aspcf.

Details

GRanges, in the GenomicRanges package, is the standard BioConductor containers for range data. For some applications it may therefore be useful to convert segmentation results to this format.

Value

The segments converted to the GRanges container class.

Author(s)

Gro Nilsen

Examples

#load lymphoma data
data(lymphoma)
#Run pcf
seg <- pcf(data=lymphoma,gamma=12)
#Obtain the GRanges format
gr <- getGRangesFormat(seg)

copynumber

Segmentation of single- and multi-track copy number data by penalized least squares regression.

v1.30.0
Artistic-2.0
Authors
Gro Nilsen, Knut Liestoel and Ole Christian Lingjaerde.
Initial release
2013-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.