Learn R Programming

AmpGram (version 1.0)

get_AMPs: Get putative antimicrobial peptides

Description

Function gets sequences recognized as antimicrobial peptides and returns as data.frame.

Usage

get_AMPs(x)

Arguments

x

AmpGram predictions for a single protein

Value

a data.frame with sequences recognized as antimicrobial peptides (AMPs). It consists of two columns:

putative_AMP

amino acid sequence of a 10-mer (subsequence of an analyzed peptide) predicted as AMP.

prob

Probability with which a 10-mer is recognized as AMP.

Examples

Run this code
# NOT RUN {
data(AmpGram_predictions)
get_AMPs(AmpGram_predictions[[2]])
# }

Run the code above in your browser using DataLab