getCounts-DsATAC-method: getCounts-methods

getCounts,DsATAC-methodR Documentation

getCounts-methods

Description

Return table of count values

Usage

## 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


GreenleafLab/ChrAccR documentation built on March 22, 2023, 11:42 p.m.