Return a SummarizedExperiment object of count values

# S4 method for DsATAC
getCountsSE(.object, type, naIsZero = TRUE)

Arguments

.object

DsATAC object

type

character string specifying the region type

naIsZero

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

Value

SummarizedExperiment containing counts for each region and sample

Author

Fabian Mueller

Examples

if (FALSE) {
dsa <- ChrAccRex::loadExample("dsAtac_ia_example")
se <- getCountsSE(dsa, "IA_prog_peaks")
se
}