mapping: Map mixture components to copy number states

Description Usage Arguments See Also Examples

Description

Map mixture components to copy number states

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mapping(object)

mapping(object) <- value

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

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

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


  ## S4 replacement method for signature 'MultiBatchCopyNumberPooled,character'
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

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

## End(Not run)

CNPBayes documentation built on May 6, 2019, 4:06 a.m.