Description Usage Arguments See Also Examples
Extract copy number estimates from a 'CopyNumberModel'
1 2 3 4 5 6 7 | copyNumber(object)
## S4 method for signature 'MultiBatchCopyNumber'
copyNumber(object)
## S4 method for signature 'MultiBatchCopyNumberPooled'
copyNumber(object)
|
object |
a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | sb <- SingleBatchModelExample
cn.model <- CopyNumberModel(sb)
head(copyNumber(cn.model))
## here is an identity mapping
## Not run:
mapping(cn.model) <- 1:3
identical(copyNumber(cn.model), z(cn.model))
table(copyNumber(cn.model))
## here, we map the first two mixture components to one copy number state
mapping(cn.model) <- c(1, 1, 2)
table(copyNumber(cn.model))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.