covg,RnBSet-method {RnBeads} | R Documentation |
Extract coverage information from an object of RnBSet
class.
## S4 method for signature 'RnBSet' covg(object, type = "sites", row.names = FALSE, i = NULL, j = NULL)
object |
Dataset of interest. |
type |
|
row.names |
Flag indicating of row names are to be generated in the result. |
i |
indices of sites/regions to be retrieved. By default ( |
j |
indices of samples to be retrieved. By default ( |
coverage information available for the dataset in the form of a matrix
.
library(RnBeads.hg19) data(small.example.object) ## per-site beta-value matrix cvg<-covg(rnb.set.example, row.names=TRUE) head(cvg)