enzyme_builder {proteinKit} R Documentation

build the enzyme protein sequence transformer model from a given enzyme

Description

protein sequence collection

Usage

enzyme_builder(enzymes,
    kmer = 3);

Arguments

enzymes

a protein fasta sequence collection for build the transformer model, which can be a FastaFile object, a collection of the FastaSeq object, or a character vector of the raw sequence data.

kmer

the k-mer size for tokenize the protein sequence data. [as integer]

env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a TransformerModel protein sequence model that trained from the given enzyme sequence collection, which can be used for generate the new protein sequence via the predict_sequence api.

clr value class

Examples


[Package proteinKit version 1.0.0.0 Index]