This function substitutes P with O based on predict_hyp prediction
sub_hyp(sequence, id, hyp)
| sequence | protein sequences in the form of a string vector |
|---|---|
| id | protein ids in the form of a string vector |
| hyp | the prediction object returned by predict_hyp |
A vector of strings where P are changed to O based on predict_hyp prediction
This is an internal function used inside predict_hyp