predict.sighsmm_model: Predict sighsmm_model object

Description Usage Arguments Examples

View source: R/predict.sighsmm_model.R

Description

Predicts the presence of signal peptides using signalHsmm models.

Usage

1
2
## S3 method for class '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

1
2
3
4
5
6
7
#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])

## End(Not run)

michbur/signalHsmm documentation built on May 10, 2020, 2:58 p.m.