get_offsets: Get Offsets by maximizing p-sites within the CDS

get_offsetsR Documentation

Get Offsets by maximizing p-sites within the CDS

Description

Get Offsets by maximizing p-sites within the CDS

Usage

get_offsets(input, anno, method = "cds_incl")

Arguments

input

GRanges object with RPFs or a bam file with RPFs

anno

annotation object

method

Method for p-site determination. Defaults to 'cds_incl'

Value

a dataframe with p-site offsets per readlength

Author(s)

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

Examples

cov <- get_readgr(ribobam, anno)
offsets_df <- get_offsets(cov, anno)
data(chr22_anno)
data(rpfs)
data(offsets_df)
testoffsets_df <- get_offsets(rpfs, chr22_anno)


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