View source: R/predict_topology_from_sequence.R
predict_topology_from_sequence | R Documentation |
Run TMHMM directy on a protein sequence
predict_topology_from_sequence( protein_sequence, folder_name = get_default_tmhmm_folder(), temp_fasta_filename = tempfile(fileext = ".fasta"), temp_topology_filename = tempfile(fileext = ".topo") )
protein_sequence |
a protein sequence |
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 |
a topology sequence,
for example "iiiimmmmmoooo"
Richèl J.C. Bilderbeek
Use mock_predict_topology_from_sequence to do a mock prediction
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.