Learn R Programming

tmhmm (version 1.3)

tally_tmhs: Count the number of transmembrane helices in a topology

Description

Count the number of transmembrane helices in a topology

Usage

tally_tmhs(topology)

Arguments

topology

a tibble with two columns, named name for a protein's name and topology, for its predicted topology (e.g. ooooMMMMiiiii).

Value

a tibble with the number of TMHs per protein

Examples

Run this code
# NOT RUN {
if (is_tmhmm_installed()) {
  tally_tmhs(
    locatome_to_df(
      c(
        ">my_protein",
        "FASTASTIC"
      )
    )
  )
}
# }

Run the code above in your browser using DataLab