View source: R/accessoryFunctions.R
typeToSource | R Documentation |
Converts between 'alignType' values, identifying four types of sequence alignments and 'source' values, identifying three kinds of alignment files.
typeToSource(alignVector, toSource = TRUE)
alignVector |
A vector of character values specifying kinds of four sequence alignment types ("prot","nuc","codon" and "gen"), or three source alignment files ("AA","cDNA", and "gDNA"). |
toSource |
A logical. If 'toSource' is true, 'alignType' values are converted to 'source' values. If 'toSource' is false, 'source' values are concerted to 'alignType' values |
A character string of the converted 'align' or 'source' value.
typeToSource(c("nuc","prot","gen"),TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.