get_offsets | R Documentation |
Get Offsets by maximizing p-sites within the CDS
get_offsets(input, anno, method = "cds_incl")
input |
GRanges object with RPFs or a bam file with RPFs |
anno |
annotation object |
method |
Method for p-site determination. Defaults to 'cds_incl' |
a dataframe with p-site offsets per readlength
Dermot Harnett, dermot.p.harnett@gmail.com
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.