picsError-class {PICS} | R Documentation

## The pics class

### Description

This object is used to return an error code when the PICS function failed to return a valid set of estimates for a candidate regions. This could be due to non-convergence of the EM algorithm, a singular information matrix, or a number of reads below the limit specified by the user. All of these are typically due to too few reads in the region and do not affect the rest of the analysis, as such regions would most likely be labelled as false positives.

### Accessors

All of the accessors defined for a ‘pics’ object still work for a ‘picsError’ object but will simply return a NULL pointer.

### Constructor

newPicsError(string) where ‘string’ is the error code.

### Constructor

newPicsError<-function(string)

string

  The mixture weights (a vector)

### Author(s)

Xuekui Zhang, Arnaud Droit <arnaud.droit@crchuq.ualaval.ca> and Raphael Gottardo <rgottard@fhcrc.org>

### References

X. Zhang, G. Robertson, M. Krzywinski, K. Ning, A. Droit, S. Jones, and R. Gottardo, “PICS: Probabilistic Inference for ChIP-seq” arXiv, 0903.3206, 2009. To appear in Biometrics.

### See Also

`pics`

### Examples

    # Here is an example on how to construct such a picsError object
    # Typically, you would not do this manually, you would use the pics function to return a 'picsList' that contains a list of 'pics' or 'picsError' object.
    # Contructor
    myPicsError<-newPicsError("Singular information matrix")
    # Accessors
    # Get the standard error of Mu
    se(myPicsError)
    # Get the standard error of MuF
    seF(myPicsError)
    # Get the scores
    score(myPicsError)

[Package PICS version 2.26.0 Index]