shiftATACGranges | R Documentation |
A function to shift GRanges fragments by 5/-4. This is useful when dealing with fragments coming from ATAC-seq.
shiftATACGranges(g, pos_shift = 4, neg_shift = 5)
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? |
A GRanges object containing fragments from the input .bam file.
data(bam_test)
shiftATACGranges(bam_test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.