plot_topology: Plot the topology

View source: R/plot_topology.R

plot_topologyR Documentation

Plot the topology

Description

Plot the topology

Usage

plot_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

a ggplot that displays the topology of one or more proteins

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_tmhmm_installed() && is_on_ci()) {
  fasta_filename <- system.file("extdata", "tmhmm.fasta", package = "tmhmm")
  topology <- predict_topology(fasta_filename)
  plot_topology(topology)
}

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