tally_tmhs: Count the number of transmembrane helices in a topology

View source: R/tally_tmhs.R

tally_tmhsR Documentation

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

if (is_tmhmm_installed()) {
  tally_tmhs(
    fasta_text_to_tibble(
      c(
        ">my_protein",
        "FASTASTIC"
      )
    )
  )
}

richelbilderbeek/tmhmm documentation built on Sept. 3, 2022, 5:14 p.m.