Learn R Programming

baseq (version 0.2.0)

plot_gc_skew: Plot GC Skew

Description

Generates a sliding window plot of GC skew (G-C)/(G+C).

Usage

plot_gc_skew(s, window = 100)

Value

A ggplot object

Arguments

s

A character string containing the DNA sequence

window

Integer window size (default: 100)

Examples

Run this code
data(sars_fragment)
plot_gc_skew(sars_fragment, window = 100)

Run the code above in your browser using DataLab