pred2df {AmpGram} | R Documentation |
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 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
).
data(AmpGram_predictions)
pred2df(AmpGram_predictions)