pingError-class {PING}R Documentation

The ping class

Description

This object is used to return an error code when the PING 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 'ping' object still work for a 'pingError' object but will simply return a NULL pointer.

Constructor

newPingError(string) where 'string' is the error code.

Constructor

newPingError<-function(string)

string

The mixture weights (a vector)

Author(s)

Xuekui Zhang <xzhang@stat.ubc.ca>, Sangsoon Woo, swoo@fhcrc.org and Raphael Gottardo <raphael.gottardo@ircm.qc.ca>

References

Xuekui Zhang, Gordon Robertson, Sangsoon Woo, Brad G. Hoffman, and Raphael Gottardo, "Probabilistic Inference for Nucleosome Positioning with MNase-based or Sonicated Short-read Data" GenomeBiology, under review.

See Also

ping

Examples

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

[Package PING version 2.28.0 Index]