R/AllGenerics.R

#### accessor for MadSeq object ####
## 1. posterior
#' @rdname posterior
#' @author Yu Kong
#' @export
setGeneric(
    "posterior", 
    function(object) standardGeneric("posterior"))

## 2. deltaBIC
#' @rdname deltaBIC
#' @export
setGeneric(
    "deltaBIC", 
    function(object) standardGeneric("deltaBIC"))


#### plot functions for MadSeq object ####
## 1. plot all posterior
#' @rdname plotMadSeq
#' @author Yu Kong
#' @export
setGeneric(
    "plotMadSeq", 
    function(object) standardGeneric("plotMadSeq"))

## 2. plot Fraction of aneuploidy cell
#' @rdname plotFraction
#' @author Yu Kong
#' @export
setGeneric(
    "plotFraction", 
    function(object,prob=0.95) standardGeneric("plotFraction"))

## 3. plot Mixtures from posterior distribution
#' @rdname plotMixture
#' @author Yu Kong
#' @export
setGeneric(
    "plotMixture", 
    function(object) standardGeneric("plotMixture"))

Try the MADSEQ package in your browser

Any scripts or data that you put into this service are public.

MADSEQ documentation built on Nov. 8, 2020, 6:51 p.m.