plotFraction {MADSEQ} | R Documentation

## histgram for the fraction of aneuploid cells estimated by MadSeq model

### Description

histgram of the posterior distribution of the fraction of aneuploid cells estimated by the selected model.

### Usage

    plotFraction(object, prob = 0.95)

    ## S4 method for signature 'MadSeq'
    plotFraction(object, prob = 0.95)

### Arguments

`object` | A `MadSeq` object returned by `runMadSeq` function.
`prob` | A `numeric` value between 0~1 specify the highest posterior interval (similar to credible interval) for the distribution. Default: 0.95.

### Value

the histgram of posterior distribution of the fraction

### Note

If normal model has been selected by `runMadSeq` function, no fraction plot will be produced by this function.

### Author(s)

Yu Kong

Yu Kong

### See Also

`runMadSeq`, `plotMadSeq`, `plotMixture`

### Examples

    ## load the example MadSeq object come with the package
    data("aneuploidy_chr18")

    ## plot estimated fraction of aneuploid cells
    plotFraction(aneuploidy_chr18)

[Package MADSEQ version 1.12.0 Index]