DNAcopy-class | R Documentation |
Coerce DNAcopy
object to GRanges
from |
S3 class DNAcopy |
a GRanges
object
segment
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.