View source: R/is_topology_line.R
is_topology_line | R Documentation |
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.
is_topology_line(line)
line |
line of text from a FASTA filename |
TRUE if the line can be the text of a topology in a FASTA file.
Richèl J.C. Bilderbeek
# This is a valid topology
is_topology_line("000010101011")
# This is an invalid topology
is_topology_line("invalid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.