getGRangesFormat {copynumber} | R Documentation |
The segments data frame obtained e.g. by pcf
, multipcf
or aspcf
is converted to the GRanges format.
getGRangesFormat(segments)
segments |
a data frame containing segmentation results found by e.g. |
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.
The segments converted to the GRanges container class.
Gro Nilsen
#load lymphoma data data(lymphoma) #Run pcf seg <- pcf(data=lymphoma,gamma=12) #Obtain the GRanges format gr <- getGRangesFormat(seg)