Discrete sparse descriptor.

Description

DiscreteSparse returns the sum of sparse descriptors of amino acids in a protein sequence.

Usage

1

Arguments

x

A string

Value

A 20 dimensional numeric vector

Examples

1
2
x = "LALHLLLLHMHMMDRSLLLH"
ShiftedDiscreteSparse(x)