Learn R Programming

ProteinDescriptors (version 0.1.0)

SequentialDiscreteSparse: Sequential discrete sparse descriptor with step size=2.

Description

SequentialDiscreteSparse returns the sum of the concatenation of sparse descriptors of amino acids at every step size in a protein sequence.

Usage

SequentialDiscreteSparse(x)

Arguments

x
A string of amino acid letters

Value

A 40 dimensional numeric vector

Examples

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

Run the code above in your browser using DataLab