getFragmentsPerSample {chromVAR}R Documentation

getFragmentsPerSample

Description

getFragmentsPerSample

Usage

getFragmentsPerSample(object)

## S4 method for signature 'SummarizedExperiment'
getFragmentsPerSample(object)

## S4 method for signature 'MatrixOrmatrix'
getFragmentsPerSample(object)

Arguments

object

SummarizedExperiment, matrix, or Matrix object

Value

vector with sum across columns of counts assay within chromVARCounts

Methods (by class)

See Also

getFragmentsPerPeak, getTotalFragments

Examples

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

[Package chromVAR version 1.14.0 Index]