View source: R/collection_helpers.R
normalize_collection | R Documentation |
Normalize collection table
normalize_collection(
table,
normalization,
lib_sizes = NULL,
kmer = 1L,
add_logscore = TRUE,
split_by_frame = FALSE
)
table |
a data.table in long format |
normalization |
a character string, which mode, for options see RiboCrypt:::normalizations |
lib_sizes |
named integer vector, default NULL. If given will do a pre tpm normalization for full library sizes |
kmer |
integer, default 1L (off), if > 1 will smooth out signal with sliding window size kmer. |
add_logscore |
logical, default TRUE, adds a log(score + 1) to table |
split_by_frame |
logical, default FALSE For kmer sliding window, should it split by frame |
a data.table of normalized results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.