shiftATACGranges: A function to shift GRanges fragments by 5/-4. This is useful...

Description Usage Arguments Value Examples

View source: R/bamutils.R

Description

A function to shift GRanges fragments by 5/-4. This is useful when dealing with fragments coming from ATAC-seq.

Usage

1
shiftATACGranges(g, pos_shift = 4, neg_shift = 5)

Arguments

g

GRanges of ATAC-seq fragments

pos_shift

Integer. How many bases should fragments on direct strand be shifted by?

neg_shift

Integer. How many bases should fragments on negative strand be shifted by?

Value

A GRanges object containing fragments from the input .bam file.

Examples

1
2

VplotR documentation built on Nov. 8, 2020, 7:50 p.m.