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.cancergram_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.

acp

Probability that a protein/peptide possesses anticancer activity.

amp

Probability that a protein/peptide possesses antimicrobial activity.

neg

Probability that a protein/peptide do not possesses anticancer or antimicrobial activity.

decision

Result of the prediction.

Examples

1
2

CancerGram documentation built on Nov. 19, 2020, 5:06 p.m.