Description Usage Arguments Examples
View source: R/run_tmhmm_to_file.R
Creates a FASTA-like file, that has the locations of the amino acids.
1 | run_tmhmm_to_file(fasta_filename, tmhmm_filename)
|
fasta_filename |
path to a FASTA file |
tmhmm_filename |
filename to write the TMHMM results to |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | if (is_tmhmm_installed()) {
# Write results to a temporary file
tmhmm_filename <- tempfile()
run_tmhmm_to_file(
fasta_filename = system.file(
"extdata", "tmhmm.fasta", package = "tmhmm"
),
tmhmm_filename = tmhmm_filename
)
# Result is written to 'tmhmm_filename', cleaning up
file.remove(tmhmm_filename)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.