aln2html(aln, file="alignment.html", Entropy=0.5, append=TRUE,
caption.css="color: gray; font-size: 9pt",
caption="Produced by Bio3D",
fontsize="11pt", bgcolor=TRUE, colorscheme="clustal")
id
and ali
components, similar to that generated by read.fasta
.file
; otherwise, it will overwrite the contents of
file
.read.fasta
, write.fasta
, seqaln
## Read an example alignment
aln <- read.fasta(system.file("examples/hivp_xray.fa",package="bio3d"))
## Produce a HTML file for this alignment
aln2html(aln, append=FALSE, file=file.path("eg.html")
aln2html(aln, colorscheme="ent", file="eg.html")
## View/open the file in your web browser
#browseURL("eg.html")
Run the code above in your browser using DataLab