getCounts-DsATAC-method: getCounts-methods

Description Usage Arguments Value Author(s)

Description

Return table of count values

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S4 method for signature '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(s)

Fabian Mueller


demuellae/ChrAccR documentation built on Jan. 20, 2020, 3:03 a.m.