LastFirstDiscreteSparse: Last first discrete sparse descriptor.

Description Usage Arguments Value Examples

Description

LastFirstDiscreteSparse returns the concatenation of the sum of sparse descriptors of amino acids in a protein sequence and the sum of combination of last part of an amino acid descriptor with the first part of its neighbour amino acid descriptor.

Usage

1

Arguments

x

A string of amino acid letters

Value

A 40 dimensional numeric vector

Examples

1
2
x = "LALHLLLLHMHMMDRSLLLH"
LastFirstDiscreteSparse(x)

Example output

     A      R      N      D      C      E      Q      G      H      I      L 
0.0025 0.0025 0.0000 0.0025 0.0000 0.0000 0.0000 0.0000 0.0100 0.0000 0.0225 
     K      M      F      P      S      T      W      Y      V               
0.0000 0.0075 0.0000 0.0000 0.0025 0.0000 0.0000 0.0000 0.0000 0.4500 0.0000 
                                                                             
0.1500 0.0000 0.0000 0.0500 0.0000 0.0000 0.0000 0.0000 0.0500 0.0500 0.0000 
                                                 
0.0500 0.0000 0.0000 0.0000 0.0000 0.2000 0.0000 

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