mapping {CNPBayes} | R Documentation |
Map mixture components to copy number states
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
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 |
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)