view {PANR} | R Documentation

## View the results of beta-mixture model fitting

### Description

This function facillitate the user to view and check the fitting results of NULL and beta-mixture distributions.

### Usage

    view(object, what="fitBM", ...)

### Arguments

`object` | an object of S4 class `BetaMixture`.
`what` | a character value specifying to show the fitting results of NULL (if `what='fitNULL'`) or beta-mixture model (if `what='fitBM'`).
`...` | not in use, only for further extension.

### Details

The function help the user to view and check the fitting of NULL and three beta-mixture model to permuted and real phenotyping screens, respectively. For either fitting, a histogram of association scores and the fitted beta distribution(s) will be plotted. For beta-mixture fitting, the integrated probability density function for the mixed distribution will also be plotted.

### Author(s)

Xin Wang xw264@cam.ac.uk

### References

Xin Wang, Mauro Castro, Klaas W. Mulder and Florian Markowetz, Posterior association networks and enriched functional gene modules inferred from rich phenotypic perturbation screens, in preparation.

### See Also

`fitNULL` `fitBM`

### Examples

    data(bm)
    view(bm1, what="fitNULL")
    view(bm1, what="fitBM")

[Package PANR version 1.26.0 Index]