tally_tmhs: Count the number of transmembrane helices in a topology

Description Usage Arguments Value Examples

View source: R/tally_tmhs.R

Description

Count the number of transmembrane helices in a topology

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
if (is_tmhmm_installed()) {
  tally_tmhs(
    locatome_to_df(
      c(
        ">my_protein",
        "FASTASTIC"
      )
    )
  )
}

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