run_tmhmm_to_file: Creates a FASTA-like file, that has the locations of the...

Description Usage Arguments Examples

View source: R/run_tmhmm_to_file.R

Description

Creates a FASTA-like file, that has the locations of the amino acids.

Usage

1
run_tmhmm_to_file(fasta_filename, tmhmm_filename)

Arguments

fasta_filename

path to a FASTA file

tmhmm_filename

filename to write the TMHMM results to

Examples

 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)
}

tmhmm documentation built on Nov. 18, 2020, 9:07 a.m.