Learn R Programming

cubar (version 1.1.0)

slide_plot: plot sliding window codon usage

Description

slide_plot visualizes codon usage in sliding window.

Usage

slide_plot(windt, index_name = "Index")

Value

ggplot2 plot.

Arguments

windt

data.table, the sliding window codon usage generated by slide_apply.

index_name

character, the name of the index to display.

Examples

Run this code
sw <- slide_apply(yeast_cds[[1]], get_enc, step = 1, before = 10, after = 10)
slide_plot(sw)

Run the code above in your browser using DataLab