Learn R Programming

MinimumDistance (version 1.16.0)

MAP2: 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(), ...)
"MAP2"(object, mdgr, param = MinDistParam(), ...)
"MAP2"(object, mdgr, param = MinDistParam(), ...)
"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

Run this code
  library(oligoClasses)
  library(VanillaICE)
  library(MinimumDistance)
  ## 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)

Run the code above in your browser using DataLab