Learn R Programming

signalHsmm (version 1.5)

predict.sighsmm_model: Predict sighsmm_model object

Description

Predicts the presence of signal peptides using signalHsmm models.

Usage

# S3 method for sighsmm_model
predict(object, newdata, ...)

Arguments

object

sighsmm_model object.

newdata

unknown sequence of class character or character. Alternatively, a list of sequences in mentioned formats.

...

further arguments passed to or from other methods.

Examples

Run this code
# NOT RUN {
#remember to remove it
# }
# NOT RUN {
pos_train_ultrahard <- read_uniprot("pos_ultrahard_data.txt", euk = TRUE)
model1 <- train_hsmm(pos_train_ultrahard, aa_group = aaaggregation)
predict(model1, benchmark_dat[1L:5])
# }

Run the code above in your browser using DataLab