Return table of count values

# S4 method for DsATAC
getCounts(
  .object,
  type,
  i = NULL,
  j = NULL,
  asMatrix = TRUE,
  naIsZero = TRUE,
  allowSparseMatrix = FALSE
)

Arguments

.object

DsATAC object

type

character string specifying the region type

i

(optional) row (region) indices

j

(optional) column (sample) indices

asMatrix

return a matrix object instead of the internal representation

naIsZero

should NAs in the count matrix be considered 0 value (instead of unknown/missing)

allowSparseMatrix

if asMatrix: allow for sparse matrices as returned data format

Value

Matrix containing counts for each region and sample

Author

Fabian Mueller