Description Usage Arguments Details Value Author(s) Examples
View source: R/517-extractPCMPropScalesGap.R
Amino Acid Properties Based Scales Descriptors (Protein Fingerprint) with Gap Support
1 |
x |
A character vector, as the input protein sequence.
Use ' |
index |
Integer vector or character vector. Specify which AAindex
properties to select from the AAindex database by specify the
numerical or character index of the properties in the
AAindex database.
Default is |
pc |
Integer. Use the first pc principal components as the scales. Must be no greater than the number of AA properties provided. |
lag |
The lag parameter. Must be less than the amino acids. |
scale |
Logical. Should we auto-scale the property matrix
before PCA? Default is |
silent |
Logical. Whether we print the standard deviation,
proportion of variance and the cumulative proportion of
the selected principal components or not.
Default is |
This function calculates amino acid properties based scales descriptors (protein fingerprint) with gap support. Users could specify which AAindex properties to select from the AAindex database by specify the numerical or character index of the properties in the AAindex database.
A length lag * p^2
named vector,
p
is the number of scales (principal components) selected.
Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>
1 2 3 | # amino acid sequence with gaps
x = readFASTA(system.file('protseq/align.fasta', package = 'BioMedR'))$`IXI_235`
fp = extrProtFPGap(x, index = c(160:165, 258:296), pc = 5, lag = 7, silent = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.