add_cor_offset: Add 'correct offset' column to a set of reads

View source: R/get_offsets.R

add_cor_offsetR Documentation

Add 'correct offset' column to a set of reads

Description

Given rpfs, and named vectors of starts and stops, this adds the 'correct' offset to the reads to use with determining p-site offsets

Usage

add_cor_offset(rpfs, anno)

Arguments

rpfs

GRanges object with RPFs

anno

annotation object

Value

the rpf granges but wth a 'cor_offset' column

Author(s)

Dermot Harnett, dermot.p.harnett@gmail.com


zslastman/RiboStan documentation built on April 6, 2024, 1:35 p.m.