getNumNaMeth,RnBSet-method {RnBeads} | R Documentation |
for each site/region, the getNumNaMeth retrieves the number of NA values accross all samples. Does this efficiently by breaking down the methylation matrix into submatrices
## S4 method for signature 'RnBSet' getNumNaMeth(object, type = "sites", chunkSize = 1e+05, mask = NULL)
object |
object inheriting from |
type |
"sites" or region type |
chunkSize |
size of each submatrix (performance tuning parameter) |
mask |
logical matrix. its entries will also be considered NAs in counting |
vector containing the number of NAs per site/region