plot_bias | R Documentation |
This function generates 'iXnos'-style plot of codon or nucleotide positional contributions to RPF counts.
plot_bias( model_metric, plot_title = "", plot_subtitle = "", type = "codon", metric = "corr", fill_colors = NULL )
model_metric |
numeric vector; output from 'evaluate_bias' |
plot_title |
character; title for plot |
plot_subtitle |
character; subtitle for plot |
type |
character; one of 'codon' or 'nt' corresponding to 'model_metric' |
metric |
character; one of 'corr' or 'norm' |
fill_colors |
named character vector; colors corresponding to positions |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.