writeListOfGAlignments: export list of GAlignments into bam files

View source: R/writeListOfGAlignments.R

writeListOfGAlignmentsR Documentation

export list of GAlignments into bam files

Description

wraper for export to export list of GAlignment into bam files.

Usage

writeListOfGAlignments(objs, outPath = ".")

Arguments

objs

A list of GAlignments.

outPath

character(1). Output file path.

Value

status of export.

Author(s)

Jianhong Ou

Examples

library(GenomicAlignments)
gal1 <- GAlignments(seqnames=Rle("chr1"), pos=1L, cigar="10M",
                    strand=Rle(strand(c("+"))), names="a", score=1)
galist <- GAlignmentsList(a=gal1)
writeListOfGAlignments(galist)

jianhong/ATACseqQC documentation built on March 19, 2024, 8:30 a.m.