powered by
Generates a sliding window plot of protein hydrophobicity using the Kyte-Doolittle scale.
plot_hydrophobicity(s, window = 9)
A ggplot object
A character string containing the protein sequence
Integer window size (default: 9)
prot <- "MKFLVLALAL" plot_hydrophobicity(prot, window = 3)
Run the code above in your browser using DataLab