Learn R Programming

ProteinDescriptors (version 0.1.0)

SequentialSparse: Sequential sparse descriptor.

Description

SequentialSparse returns the concatenation of sparse descriptors of amino acids in a protein sequence.

Usage

SequentialSparse(x)

Arguments

x
A string of amino acid letters

Value

A 20*n dimensional numeric vector where n is the protein length

Examples

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

Run the code above in your browser using DataLab