dpval,RnBeadSet-method {RnBeads} | R Documentation

## dpval-methods

### Description

Extract detection p-values from an object of `RnBeadSet` class.

### Usage

    ## S4 method for signature 'RnBeadSet'
    dpval(object, type = "sites", row.names = FALSE, i = NULL, j = NULL)

### Arguments

`object` | `RnBeadSet` or `RnBeadRawSet` object
`type` | `character` singleton. If `sites` detection p-values per each available site is returned. Otherwise should be one of region types for for which the summarized p-values are available
`row.names` | Flag indicating of row names are to be generated in the result.
`i` | Indices of sites/regions to be retrieved. By default (`NULL`), all will be retrieved.
`j` | Indices of samples to be retrieved. By default (`NULL`), all will be retrieved.

### Value

detection p-values available for the dataset in the form of a `matrix`.

### Examples

    library(RnBeads.hg19)
    data(small.example.object)
    dp<-dpval(rnb.set.example, row.names=TRUE)
    head(dp)

[Package RnBeads version 2.10.0 Index]