rawCounts {msgbsR} | R Documentation

## rawCounts

### Description

Imports the raw read counts from sorted and indexed bam file(s)

### Usage

    rawCounts(bamFilepath, threads = 1)

### Arguments

`bamFilepath` | The path to the location of the bam file(s).
`threads` | The total number of usable threads to be used. Default is 1.

### Value

Produces a RangedSummarizedExperiment. Columns are samples and the rows are cut sites. The cut site IDs are in the format chr:position-position:strand.

### Author(s)

Benjamin Mayne, Sam Buckberry

### Examples

    my_path <- system.file("extdata", package = "msgbsR")
    my_data <- rawCounts(bamFilepath = my_path)

[Package msgbsR version 1.18.0 Index]