rawCounts {msgbsR} | R Documentation |
Imports the raw read counts from sorted and indexed bam file(s)
rawCounts(bamFilepath, threads = 1)
bamFilepath |
The path to the location of the bam file(s). |
threads |
The total number of usable threads to be used. Default is 1. |
Produces a RangedSummarizedExperiment. Columns are samples and the rows are cut sites. The cut site IDs are in the format chr:position-position:strand.
Benjamin Mayne, Sam Buckberry
my_path <- system.file("extdata", package = "msgbsR") my_data <- rawCounts(bamFilepath = my_path)