get_kl_df | R Documentation |
Calculate KL-divergence from a data frame of rust expected and actual scores
get_kl_df(metacodondf, anno)
metacodondf |
a data frame with metacodon info |
anno |
An annotation object |
A data frame with expected and actual rust score per position in window, codon, readlength
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(metacodondf, chr22_anno)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.