summarize {PANR} | R Documentation

## Summarize the object of S4 class 'BetaMixture' or 'PAN'

### Description

The function helps print a summary of an object of S4 class `BetaMixture` or `PAN`.

### Usage

    summarize(object, what='ALL', ...)

### Arguments

`object` | an object of S4 class `BetaMixture` or `PAN`.
`what` | a character value specifying what to print (see details).
`...` | not in use, only for further extension.

### Details

This function print a summary of an object of `BetaMixture` or `PAN`. The function is also called by S4 method `show`, which prints only a short message about the input parameters and data.

For an object of class `BetaMixture`:

If `what='input'`, the function prints to screen a summary of input parameters; If `what='fitNULL'`, the function prints to screen a summary of fitting results for the NULL distribution. If `what='fitBM'`, the function prints to screen a summary of fitting results for the beta-mixture model. If `what='ALL'`, all above messages will be printed.

For an object of class `PAN`:

If `what='input'`, the function prints to screen a summary of input object(s) of class `BetaMixture`; If `what='graph'`, the function prints to screen a summary of inferred posterior association network; If `what='module'`, the function prints to screen a summary of functional gene modules; If `what='ALL'`, all above messages will be printed.

### 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.

### Examples

    data(bm)
    summarize(bm1, what='ALL')

[Package PANR version 1.26.0 Index]