seqFormat-methods {CorMut} | R Documentation |
Process the multiple sequence alignment files, the results can be used for the other functional functions. Note that the reference sequence should be included as the first sequence.
seqFormat(x, format = c("clustal","fasta","mase","phylip","msf"))
x |
multiple sequence alignment files |
format |
a character string specifying the format of the file: "clustal","fasta","mase","phylip","msf", refer to read.alignment function in seqinr package for details. |
A vector of sequences with names is returned.
To ensure an exact result, the reference sequence should be included in the alignment as the first sequence.
Zhenpeng Li
examplefile=system.file("extdata","PI_treatment.aln",package="CorMut") example=seqFormat(examplefile)