calculate_codon_density | R Documentation |
This function returns a vector of RPF counts per codon for an individual transcrips.
calculate_codon_density( bam_dat, transcript_length, exclude_codons5 = 10, exclude_codons3 = 10, normalize = F, which_column = "count" )
bam_dat |
data frame; output from 'load_bam' |
transcript_length |
integer; length of transcript CDS in codons |
exclude_codons5 |
integer; number of codons to exclude from 5' end of transcript |
exclude_codons3 |
integer; number of codons to exclude from 3' end of transcript |
normalize |
logical; whether to normalize codon counts by the average RPF count across the transcript |
which_column |
character; column in 'bam_dat' corresponding to RPF count |
A numeric vector of RPF counts per codon position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.