getFragmentsPerSample

getFragmentsPerSample(object)

# S4 method for SummarizedExperiment
getFragmentsPerSample(object)

# S4 method for MatrixOrmatrix
getFragmentsPerSample(object)

Arguments

object

SummarizedExperiment, matrix, or Matrix object

Value

vector with sum across columns 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

getFragmentsPerPeak, getTotalFragments

Examples

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