slide_plot: plot sliding window codon usage

View source: R/window.R

slide_plotR Documentation

plot sliding window codon usage

Description

slide_plot visualizes codon usage in sliding window.

Usage

slide_plot(windt, index_name = "Index")

Arguments

windt

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

index_name

character, the name of the index to display.

Value

ggplot2 plot.

Examples

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

cubar documentation built on April 3, 2025, 8:58 p.m.