Convert predictions to data.frame Return predictions as data.frame
pred2df(x)
| x | results of prediction as produced by |
|---|
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:
Name of an analyzed sequence.
Probability that a protein/peptide possesses anticancer activity.
Probability that a protein/peptide possesses antimicrobial activity.
Probability that a protein/peptide do not possesses anticancer or antimicrobial activity.
Result of the prediction.
#> seq_name acp amp neg decision #> 1 ACP_seq 1.00000000 0.0000000 0 ACP #> 2 AMP_seq 0.03976349 0.9602365 0 AMP #> 3 Neg_seq 0.00000000 0.0000000 1 neg