plotFraction: histgram for the fraction of aneuploid cells estimated by...

Description Usage Arguments Value Note Author(s) See Also Examples

Description

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

Usage

1
2
3
4
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

1
2
3
4
5
## load the example MadSeq object come with the package
data("aneuploidy_chr18")

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

ykong2/MADSEQ documentation built on May 4, 2019, 5:30 p.m.