SequentialBlosum: Sequential blosum descriptor.

Description Usage Arguments Value Examples

Description

SequentialBlosum returns the concatenation of blosum descriptors of amino acids in a protein sequence.

Usage

1

Arguments

x

A string of amino acid letters

Value

A 20*n dimensional numeric vector where n is the protein length

Examples

1
2
x = "LALHLLLLHMHMMDRSLLLH"
SequentialBlosum(x)

Example output

  [1] -1 -2 -3 -4 -1 -2 -3 -4 -3  2  4 -2  2  0 -3 -2 -1 -2 -1  1  4 -1 -2 -2  0
 [26] -1 -1  0 -2 -1 -1 -1 -1 -2 -1  1  0 -3 -2  0 -1 -2 -3 -4 -1 -2 -3 -4 -3  2
 [51]  4 -2  2  0 -3 -2 -1 -2 -1  1 -2  0  1 -1 -3  0  0 -2  8 -3 -3 -1 -2 -1 -2
 [76] -1 -2 -2  2 -3 -1 -2 -3 -4 -1 -2 -3 -4 -3  2  4 -2  2  0 -3 -2 -1 -2 -1  1
[101] -1 -2 -3 -4 -1 -2 -3 -4 -3  2  4 -2  2  0 -3 -2 -1 -2 -1  1 -1 -2 -3 -4 -1
[126] -2 -3 -4 -3  2  4 -2  2  0 -3 -2 -1 -2 -1  1 -1 -2 -3 -4 -1 -2 -3 -4 -3  2
[151]  4 -2  2  0 -3 -2 -1 -2 -1  1 -2  0  1 -1 -3  0  0 -2  8 -3 -3 -1 -2 -1 -2
[176] -1 -2 -2  2 -3 -1 -1 -2 -3 -1  0 -2 -3 -2  1  2 -1  5  0 -2 -1 -1 -1 -1  1
[201] -2  0  1 -1 -3  0  0 -2  8 -3 -3 -1 -2 -1 -2 -1 -2 -2  2 -3 -1 -1 -2 -3 -1
[226]  0 -2 -3 -2  1  2 -1  5  0 -2 -1 -1 -1 -1  1 -1 -1 -2 -3 -1  0 -2 -3 -2  1
[251]  2 -1  5  0 -2 -1 -1 -1 -1  1 -2 -2  1  6 -3  0  2 -1 -1 -3 -4 -1 -3 -3 -1
[276]  0 -1 -4 -3 -3 -1  5  0 -2 -3  1  0 -2  0 -3 -2  2 -1 -3 -2 -1 -1 -3 -2 -3
[301]  1 -1  1  0 -1  0  0  0 -1 -2 -2  0 -1 -2 -1  4  1 -3 -2 -2 -1 -2 -3 -4 -1
[326] -2 -3 -4 -3  2  4 -2  2  0 -3 -2 -1 -2 -1  1 -1 -2 -3 -4 -1 -2 -3 -4 -3  2
[351]  4 -2  2  0 -3 -2 -1 -2 -1  1 -1 -2 -3 -4 -1 -2 -3 -4 -3  2  4 -2  2  0 -3
[376] -2 -1 -2 -1  1 -2  0  1 -1 -3  0  0 -2  8 -3 -3 -1 -2 -1 -2 -1 -2 -2  2 -3

ProteinDescriptors documentation built on May 1, 2019, 9:22 p.m.