Learn R Programming

ProteinDescriptors (version 0.1.0)

IncrementalDiscreteSparse: Incremental discrete sparse descriptor.

Description

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

Usage

IncrementalDiscreteSparse(x)

Arguments

x
A string of amino acid letters

Value

A 20 dimensional numeric vector

Examples

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

Run the code above in your browser using DataLab