Description Usage Arguments Value References See Also Examples
View source: R/scaledHydropathy.R
This function utilizes the scaledHydropathyGlobal() function and easily returns the averaged hydropathy as a numeric value.
1 | meanScaledHydropathy(sequence, roundScore = NA)
|
sequence |
amino acid sequence as a single character string, a vector of single characters, or an AAString object. It also supports a single character string that specifies the path to a .fasta or .fa file. |
roundScore |
Number of decimals the score will be rounded to. NA by default. |
A numeric value equal to the Mean Scaled Hydropathy.
Kyte, J., & Doolittle, R. F. (1982). A simple method for displaying the hydropathic character of a protein. Journal of molecular biology, 157(1), 105-132.
KDNorm
for residue values.
Other scaled hydropathy functions:
KDNorm
,
scaledHydropathyGlobal()
,
scaledHydropathyLocal()
1 2 3 4 5 6 7 8 9 10 11 12 | #Amino acid sequences can be character strings
aaString <- "ACDEFGHIKLMNPQRSTVWY"
#Amino acid sequences can also be character vectors
aaVector <- c("A", "C", "D", "E", "F",
"G", "H", "I", "K", "L",
"M", "N", "P", "Q", "R",
"S", "T", "V", "W", "Y")
#Alternatively, .fasta files can also be used by providing
#Calculate the mean scaled hydropathy
meanScaledHydropathy(aaString)
meanScaledHydropathy(aaVector)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.