DNAcopy-methods: Class for storing circular binary segmentation results

DNAcopy-classR Documentation

Class for storing circular binary segmentation results

Description

Coerce DNAcopy object to GRanges

Arguments

from

S3 class DNAcopy

Value

a GRanges object

See Also

segment

Examples

library(DNAcopy)
## example from DNAcopy
genomdat <- rnorm(500, sd=0.1) +
              rep(c(-0.2,0.1,1,-0.5,0.2,-0.5,0.1,-0.2),
                  c(137,87,17,49,29,52,87,42))
chrom <- rep(1:2,c(290,210))
maploc <- c(1:290,1:210)
test1 <- segment(CNA(genomdat, chrom, maploc))
as(test1, "GRanges")

cancer-genomics/trellis documentation built on Aug. 20, 2024, 5:48 p.m.