is_tmh {pureseqtmr}R Documentation

Determine if the protein sequence contains at least one transmembrane helix.

Description

Determine if the protein sequence contains at least one transmembrane helix.

Usage

is_tmh(protein_sequence, folder_name = get_default_pureseqtm_folder())

Arguments

protein_sequence

a protein sequence, with the amino acids as capitals, for example MEILCEDNTSLSSIPNSL. Use check_protein_sequence to check if a protein sequence is valid.

folder_name

superfolder of PureseqTM. The superfolder's name is /home/[user_name]/.local/share by default, as can be obtained by get_default_pureseqtm_folder

Value

TRUE if the protein sequence contains at least one transmembrane helix

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_pureseqtm_installed()) {
  # This sequence is a TMH
  is_tmh("QEKNWSALLTAVVIILTIAGNILVIMAVSLEKKLQNATNYFLM")

  # This sequence is not a TMH
  is_tmh("VVIILTIRGNILVIMAVSLE")
}

[Package pureseqtmr version 1.4 Index]