Learn R Programming

tmhmm (version 1.3)

check_topology: Check if the topology is valid.

Description

Check if the argument is of the same type as a predicted topology, as can be created with run_tmhmm. Will stop if not.

Usage

check_topology(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

Nothing. Will stop with a helpful error message if the topology is invalid.