plot_hydrophobicity: Plot Hydrophobicity

View source: R/plots.R

plot_hydrophobicityR Documentation

Plot Hydrophobicity

Description

Generates a sliding window plot of protein hydrophobicity using the Kyte-Doolittle scale.

Usage

plot_hydrophobicity(s, window = 9)

Arguments

s

A character string containing the protein sequence

window

Integer window size (default: 9)

Value

A ggplot object

Examples

prot <- "MKFLVLALAL"
plot_hydrophobicity(prot, window = 3)

baseq documentation built on March 12, 2026, 1:07 a.m.