is_topology_line: Is the line of text the topology, as used within a FASTA...

Description Usage Arguments Value Author(s) Examples

View source: R/is_topology_line.R

Description

Is the line of text the topology, as used within a FASTA filename? In this context, a topology is a string of zeroes and ones, in which a one denotes that that amino acid is within the membrane.

Usage

1

Arguments

line

line of text from a FASTA filename

Value

TRUE if the line can be the text of a topology in a FASTA file.

Author(s)

Richèl J.C. Bilderbeek

Examples

1
2
3
4
5
# This is a valid topology
is_topology_line("000010101011")

# This is an invalid topology
is_topology_line("invalid")

pureseqtmr documentation built on July 30, 2020, 5:13 p.m.