Learn R Programming

ProteinDescriptors (version 0.1.0)

LastFirstDiscreteSparse: Last first discrete sparse descriptor.

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

LastFirstDiscreteSparse(x)

Arguments

x
A string of amino acid letters

Value

A 40 dimensional numeric vector

Examples

Run this code
x = "LALHLLLLHMHMMDRSLLLH"
LastFirstDiscreteSparse(x)

Run the code above in your browser using DataLab