addphase: Add 'phase' column to a set of reads, given a vector of cds...

View source: R/get_ritpms.R

addphaseR Documentation

Add 'phase' column to a set of reads, given a vector of cds starts

Description

Given rpfs, and named vectors of starts and stops, this adds the 'phase' to the reads

Usage

addphase(gr, cdsstarts)

Arguments

gr

GRanges object with RPFs

cdsstarts

named vector of cds starts

Value

the rpf granges but wth a 'phase' column

Author(s)

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


zslastman/RiboStan documentation built on June 12, 2024, 1:59 a.m.