View source: R/predict_topologies_from_sequences.R
predict_topologies_from_sequences | R Documentation |
Run TMHMM directy on a protein sequence
predict_topologies_from_sequences( protein_sequences, folder_name = get_default_tmhmm_folder(), temp_fasta_filename = tempfile(fileext = ".fasta"), temp_topology_filename = tempfile(fileext = ".topo") )
protein_sequences |
one or more protein sequences |
folder_name |
superfolder of TMHMM.
The superfolder's name is |
temp_fasta_filename |
filename to temporarily save the protein names and sequences. This file will be deleted when this function completed successfully |
temp_topology_filename |
filename to temporarily save the topology. This file will be deleted when this function completed successfully |
one or more topology sequences,
for example c("iiiimmmmooooo", "iiiii")
Richèl J.C. Bilderbeek
use mock_predict_topologies_from_sequences to mock the prediction of protein sequences, as can be useful in testing
if (is_tmhmm_installed()) { protein_sequence <- paste0( "QEKNWSALLTAVVIILTIAGNILVIMAVSLEKKLQNATNYFLM", "SLAIADMLLGFLVMPVSMLTILYGYRWP" ) predict_topology_from_sequence(protein_sequence) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.