codonSumsPerGroup {ORFik}R Documentation

Get hits per codon

Description

Helper for entropy function, normally not used directly Seperate each group into tuples (abstract codons) Gives sum for each tuple within each group

Usage

codonSumsPerGroup(grl, reads)

Arguments

grl

a GRangesList

reads

a GRanges or GAlignment

Details

Example: counts c(1,0,0,1), with reg_len = 2, gives c(1,0) and c(0,1), these are summed and returned as data.table 10 bases, will give 3 codons, 1 base codons does not exist.

Value

a data.table with codon sums


[Package ORFik version 1.4.0 Index]