Description Usage Arguments Details Value Author(s) Examples
Protein Sequence Segmentation
1 2 |
x |
A character vector, as the input protein sequence. |
aa |
A character, the amino acid type. one of
|
k |
A positive integer, specifys the window size (half of the window), default is 7. |
This function extracts the segmentations from the protein sequence.
A named list, each component contains one of the segmentations (a character string), names of the list components are the positions of the specified amino acid in the sequence.
Nan Xiao <https://nanx.me>
1 2 | x = readFASTA(system.file('protseq/P00750.fasta', package = 'Rcpi'))[[1]]
segProt(x, aa = 'R', k = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.