Description Usage Arguments Details Value Examples
View source: R/is_tmhmm_result.R
Is the text a TMHMM result text?
1 | is_tmhmm_result(tmhmm_result)
|
tmhmm_result |
the results of a call to TMHMM,
for example, |
A TMHMM result text, is similar to a regular FASTA file: it shows the protein names and the locations of the amino acids (instead of the amino acids).
Here is an example of a TMHMM result text:
>protein name
oMMiii
In this example, protein name
is the name of the protein.
The protein consists out of 6 amino acids, of which the first
is located outside the cell, the next two are in the membrane,
and the last three are inside the (cytosol of) the cell. Note that
this is a biologically impossible protein: it takes around 21 amino
acids to span the lipid membane.
TRUE if the text is a TMHMM result text
1 2 3 4 5 | tmhmm_result <- c(
">protein name",
"ooooMMMMiiiii"
)
is_tmhmm_result(tmhmm_result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.