get_codon_usage_data | R Documentation |
This function processes codon usage data generated by RiboseQC_analysis
, i.e.
codon usage
per nucleotide position (i.e. positional codon usage) as well as
summed up over all positions* (i.e. bulk codon usage)
for a specific data type, originating compartment, and read length, as well as based on a user-defined genetic code.
This data is used as input in plot_codon_usage_bulk
to generate a bar plot, and in plot_codon_usage_bulk_rmd
to iterativly generate plots for the Ribo-seQC report in section 7.2.
Please check plot_codon_usage
for positional codon usage (instead of bulk codon usage).
* Information on positions included in analysis:
Based on P-site corrected reads, the codon usage within CDS regions for protein coding genes
is examplatory calculated
for the first 11 codons of the CDS (referred to as start),
for 11 codons from the middle of the CDS (referred to as middle), and
for the last 11 codons of the CDS (referred to as stop).
get_codon_usage_data(data, data_type, comp, rl)
data |
Object (list of lists) generated by |
data_type |
String; select one of the following:
|
comp |
String for originating compartment. |
rl |
String for read length. |
This function returns a list (e.g. called codon_usage_bulk_data) with information on bulk codon usage:
codon_usage_bulk_data$data
contains the data on bulk codon usage,
codon_usage_bulk_data$data_type
saves the data type used (see parameter data_type
)
codon_usage_bulk_data$comp
saves the originating compartment used (see parameter comp
), and
codon_usage_bulk_data$rl
saves the read length used (see parameter rl
).
Dominique Sydow, dominique.sydow@posteo.de
create_html_report
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.