MAP2 {MinimumDistance} | R Documentation

## Computes maximum a posteriori estimate for the trio copy number state

### Description

Computes maximum a posteriori estimate for the trio copy number state

### Usage

    MAP2(object, mdgr, param = MinDistParam(), ...)

    ## S4 method for signature 'MinDistExperiment,MinDistGRanges'
    MAP2(object, mdgr, param = MinDistParam(), ...)

    ## S4 method for signature 'MinDistExperiment,GRangesList'
    MAP2(object, mdgr, param = MinDistParam(), ...)

    ## S4 method for signature 'MinDistExperiment,GRanges'
    MAP2(object, mdgr, param = MinDistParam(), ...)

### Arguments

`object` | An object of class `MinDistExperiment`
`mdgr` | An object of class `MinDistGRanges`, `GRangesList`, or `GRanges`.
`param` | An object of class `MinDistParam`.
`...` | ignored

### Value

An object of class `MinDistPosterior`

### Examples

      library(oligoClasses)
      library(VanillaICE)
      ## A MinDistExperiment object:
      data(md_exp)
      ## Segmented data
      data(md_gr)
      e_param <- EmissionParam(temper=1, p_outlier=1/100)
      param <- MinDistParam(thin=1L, emission=e_param)
    ## Not run:
      md_g <- MAP2(md_exp, md_gr, param)

    ## End(Not run)

[Package MinimumDistance version 1.36.0 Index]