
Last chance! 50% off unlimited learning
Sale ends in
This function displays in the console or a file an alignment of DNA or AAsequences. The first sequence is printed on the first row and the bases of the other sequences are replaced by dots if they are identical with the first sequence.
alview(x, file = "", uppercase = TRUE)
a matrix or a list of DNA sequences (class "DNAbin"
)
or a matrix of AA sequences (class "AAbin"
).
a character string giving the name of the file where to print the sequences; by default, they are printed in the console.
a logical specifying whether to print the bases as uppercase letters.
The first line of the output shows the position of the last column of the printed alignment.
DNAbin
, image.DNAbin
, alex
,
clustal
, checkAlignment
, all.equal.DNAbin
# NOT RUN {
data(woodmouse)
alview(woodmouse[, 1:50])
alview(woodmouse[, 1:50], uppercase = FALSE)
# }
# NOT RUN {
alview(woodmouse, file = "woodmouse.txt")
# }
Run the code above in your browser using DataLab