MAP2: Computes maximum a posteriori estimate for the trio copy...

Description Usage Arguments Value Examples

Description

Computes maximum a posteriori estimate for the trio copy number state

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  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)

MinimumDistance documentation built on Nov. 8, 2020, 11:11 p.m.