pred2df: Convert predictions to data.frame Return predictions as...

Description Usage Arguments Value Examples

View source: R/pred2df.R

Description

Convert predictions to data.frame Return predictions as data.frame

Usage

1

Arguments

x

results of prediction as produced by predict.ampgram_model

Value

a data.frame with two columns and number of rows corresponding to the number of peptides/proteins in the results of prediction. Columns contain following information:

seq_name

Name of an analyzed sequence

probability

Probability that a protein/peptide possesses antimicrobial activity. It assumes values from 0 (non-AMP) to 1 (AMP).

Row names contain sequence name and decision if a peptide/protein is classified as AMP (TRUE) or non-AMP (FALSE).

Examples

1
2

AmpGram documentation built on July 1, 2020, 7:50 p.m.