rawMTreads: Raw reads shown as GAlignmentsList

Description Usage Arguments Value Examples

View source: R/rawMTreads.R

Description

Raw reads shown as GAlignmentsList

Usage

1
rawMTreads(bams)

Arguments

bams

List of files

Value

1
   GAlignments or GAlignmentsList of raw reads

Examples

1
2
3
4
5
6
7
library(MTseekerData)
BAMdir <- system.file("extdata", "BAMs", package="MTseekerData")
BAMs <- list.files(BAMdir, pattern="bam$")
BAMs <- paste0(BAMdir, "/", BAMs)
rawReads <- rawMTreads(BAMs)
rawReads_1 <- MAlignments(rawReads[[1]], BAMs[1])
plotMTCoverage(rawReads_1)

trichelab/MTseeker documentation built on March 8, 2021, 6:20 p.m.