# Example of creating a sequence operator for a protein sequence with specific cutoffs
seq_operator <- SequenceOperator(
sequence = "MVLSPADKTNVKAAW",
sequence_type = "PROTEIN",
evalue_cutoff = 10,
identity_cutoff = 0.90
)
print(seq_operator)
# Example of creating a sequence operator with automatic sequence type detection
seq_operator_auto <- SequenceOperator(
sequence = "ATGCGTACGTAGC",
evalue_cutoff = 50,
identity_cutoff = 0.85
)
print(seq_operator_auto)
Run the code above in your browser using DataLab