check_topology: Check if the topology is valid.

View source: R/check_topology.R

check_topologyR Documentation

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.

Author(s)

Richèl J.C. Bilderbeek


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