gapless_msa | R Documentation |
Removes gaps in a given msa.
gapless_msa(msa, seqtype = 'AA', df = TRUE, sfile = FALSE)
msa |
input alignment. |
seqtype |
the nature of the sequences: 'DNA' or 'AA'. |
df |
logical. When TRUE msa should be a matrix, when FALSE msa should be a string giving the path to a fasta file containing the alignment. |
sfile |
if different to FALSE, then it should be a string indicating the path to save a fasta alignment file. |
It should be noted that this function does not carry out the alignment itself.
an alignment without gaps in form of matrix or a file containing such an alignment in fasta format.
msa
## Not run: gapless_msa(msa(sequences = c("APGW", "AGWC", "CWGA"),ids = c("a", "b", "c"))$ali)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.