calculateBE {HPiP} | R Documentation

## Tranform a Seqeuence into Binary Encoding (BE)

### Description

This function transform each residue in a peptide into 20 coding values.

### Usage

    calculateBE(x)

### Arguments

`x` | A data.frame containing gene/protein names and their fasta sequences.

### Details

calculateBE

### Value

A length 400 named vector for the data input.

### Author(s)

Matineh Rahmatbakhsh, matinerb.94@gmail.com

### References

Al-Barakati, H. J., Saigo, H., and Newman, R. H. (2019). RF-GlutarySite: a random forest based predictor for glutarylation sites. Mol. Omi. 15, 189–204.

### Examples

    data(UP000464024_df)
    x_df <- calculateBE(UP000464024_df)
    head(x_df, n = 2L)

[Package HPiP version 1.0.0 Index]