getTotalFragments
getTotalFragments(object) # S4 method for SummarizedExperiment getTotalFragments(object) # S4 method for MatrixOrmatrix getTotalFragments(object)
object | SummarizedExperiment, matrix, or Matrix object |
---|
sum of all counts within object
SummarizedExperiment
: method for SummarizedExperiment object
with counts assay
MatrixOrmatrix
: method for Matrix or matrix object
getFragmentsPerSample
,
getFragmentsPerPeak
# NOT RUN { # Load very small example counts (already filtered) data(mini_counts, package = "chromVAR") total_frags <- getTotalFragments(mini_counts) # }