mapping {CNPBayes}R Documentation

Map mixture components to copy number states

Description

Map mixture components to copy number states

Usage

mapping(object)

mapping(object) <- value

## S4 method for signature 'SingleBatchCopyNumber'
mapping(object)

## S4 method for signature 'MultiBatchCopyNumber'
mapping(object)

## S4 method for signature 'MultiBatchCopyNumberPooled'
mapping(object)

## S4 replacement method for signature 'SingleBatchCopyNumber,numeric'
mapping(object) <- value

## S4 replacement method for signature 'MultiBatchCopyNumber,numeric'
mapping(object) <- value

## S4 replacement method for signature 'MultiBatchCopyNumberPooled,numeric'
mapping(object) <- value

Arguments

object

a SB, SBP, MB, or MBP model

value

a k-length numeric vector with values in 1, 2, ..., k, where k is the number of mixture components

See Also

CopyNumberModel

Examples

cn.model <- CopyNumberModel(SingleBatchModelExample)
## manually remap first two components to the same copy number state
mapping(cn.model) <- c(1, 1, 2)
## Not run: 
 ggMixture(cn.model)

## End(Not run)

[Package CNPBayes version 1.10.0 Index]