getFragmentsPerPeak

getFragmentsPerPeak(object)

# S4 method for SummarizedExperiment
getFragmentsPerPeak(object)

# S4 method for MatrixOrmatrix
getFragmentsPerPeak(object)

Arguments

object

SummarizedExperiment, matrix, or Matrix object

Value

vector with sum across rows of counts assay within chromVARCounts

Methods (by class)

  • SummarizedExperiment: method for SummarizedExperiment object with counts assay

  • MatrixOrmatrix: method for Matrix or matrix object

See also

getFragmentsPerSample, getTotalFragments

Examples

# NOT RUN {
# Load very small example counts (already filtered)
data(mini_counts, package = "chromVAR")

frags_per_peak <- getFragmentsPerPeak(mini_counts)
# }