The BioJS MSA viewer wrapped into an R package using htmlwidgets.
git clone https://github.com/bene200/msaR.git
R CMD INSTALL msaR
Or via devtools
devtools::install_github('bene200/msaR')
library(msaR)
msaR('<path-to-msa-file>')
msaR('<path-to-msa-file>', menu=F)
Please refer to the MSA viewer documentation for a list of possible config options.
config <- list(
vis=list(
overviewbox=T
)
)
msaR('<path-to-msa-file>', config=config)
msaR can be used as a widget with the Shiny web application framework.
In ui.R
msaROutput("msa", width="100%")
In server.R
output$msa <- renderMsaR(
msaR('<path-to-msa-file>')
)
All contributions are welcome! Please feel free to submit a pull request.
If you have any problem or suggestion please open an issue here
This project is licensed under the Boost Software License 1.0.
Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
If you use the MSAViewer on your website, it solely requires you to link to us