getTotalFragments: getTotalFragments

Description Usage Arguments Value Methods (by class) See Also Examples

Description

getTotalFragments

Usage

1
2
3
4
5
6
7
getTotalFragments(object)

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

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

Arguments

object

SummarizedExperiment, matrix, or Matrix object

Value

sum of all counts within object

Methods (by class)

See Also

getFragmentsPerSample, getFragmentsPerPeak

Examples

1
2
3
# Load very small example counts (already filtered)
data(mini_counts, package = "chromVAR")
total_frags <- getTotalFragments(mini_counts)

GreenleafLab/chromVAR documentation built on Aug. 20, 2019, 11:39 a.m.