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

the topology as a tibble with the columns 'name' and 'topology', where the 'name' column hold all the proteins' names, and 'topology' contains the respective topologies as strings.

Value

a tibble with the number of TMHs per protein

Examples

if (is_pureseqtm_installed()) {
  tally_tmhs(
    predict_topology(
      get_example_filename("1bhaA.fasta")
    )
  )
}

pureseqtmr documentation built on April 6, 2023, 5:20 p.m.