select_offsets | R Documentation |
Get a dataframe with p-site offsets from a datafram of KL divergence
select_offsets(kl_df, method = "a_max")
kl_df |
dataframe with KL divergence per readlength, position in window around codon |
method |
means by which to select best offfset currently only possible value is a_max - assumes the maximum KL divergence occurs under the A site |
a dataframe with p-site offsets per readlength, sample
Dermot Harnett, dermot.p.harnett@gmail.com
data(chr22_anno)
data(rpfs)
data(offsets_df)
covgrs <- list(sample1 = rpfs)
# note this doesn't work that well on a small subset
kl_df <- get_kl_df(covgrs, chr22_anno) #'
kl_offsets <- select_offsets(kl_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.