Learn R Programming

ProteinDescriptors (version 0.1.0)

DiscreteSequentialSparseFourParts: Discrete sequential sparse descriptor with split number=4.

Description

DiscreteSequentialSparseFourParts returns the concatenation of the sum of sparse descriptors of amino acids in each split of a protein sequence.

Usage

DiscreteSequentialSparseFourParts(x)

Arguments

x
A string of amino acid letters

Value

A 80 dimensional numeric vector

Examples

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

Run the code above in your browser using DataLab