Learn R Programming

ProteinDescriptors (version 0.1.0)

DiscreteSparse: Discrete sparse descriptor.

Description

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

Usage

DiscreteSparse(x)

Arguments

x
A string of amino acid letters

Value

A 20 dimensional numeric vector

Examples

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

Run the code above in your browser using DataLab