inst/doc/demo.R

## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## -----------------------------------------------------------------------------
library(tmhmm)

## ----error=TRUE---------------------------------------------------------------
check_tmhmm_installation()

## -----------------------------------------------------------------------------
fasta_filename <- system.file("extdata", "tmhmm.fasta", package = "tmhmm")
cat(readLines(fasta_filename), sep = "\n")

## -----------------------------------------------------------------------------
if (is_tmhmm_installed()) {
  locatome <- run_tmhmm(fasta_filename)
  cat(locatome, sep = "\n")
}

Try the tmhmm package in your browser

Any scripts or data that you put into this service are public.

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