export_codon_dts: Create a dataframe with a_site, p_site and e site occupancies

export_codon_dtsR Documentation

Create a dataframe with a_site, p_site and e site occupancies

Description

Create a dataframe with a_site, p_site and e site occupancies

Usage

export_codon_dts(metacodondf, kl_offsets)

Arguments

metacodondf

A data frame with expected and actual rust score per position in window, codon, readlength

kl_offsets

A dataframe with p-site offsets per readlength, sample

Value

a dataframe occupancies for e,p and a sites for each sample

Author(s)

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

Examples

data(chr22_anno)
data(rpfs)
data(offsets_df)
data(metacodondf)
# note this doesn't work that well on a small subset
kl_df <- get_kl_df(metacodondf, chr22_anno)
kl_offsets <- select_offsets(kl_df)
allcodondt <- export_codon_dts(metacodondf, kl_offsets)

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