pophelperShiny
compliments the R package pophelper
by providing a graphical user interface around the fuctions. This app is used to analyse and visualise population structure from programs such as STRUCTURE, TESS, TESS3, BAPS and numeric delimited formats such as ADMIXTURE or fastSTRUCTURE. The app can be used to read run files to R, tabulate runs, summarise runs, estimate K using the Evanno method, align clusters within K using CLUMPP and generate barplot figures.
The app can be used in a few different ways. It can be run locally as a docker container. It can be installed as a regular R package and run locally. The app can also be accessed online at pophelper.com. This last option will not be maintained for longer.
Docker helps you run this tool without having to install R or any R packages. But you need to have the docker tool installed. Docker is free and is available on all OS.
Run in a linux/unix terminal.
docker run --rm -p 8787:8787 royfrancis/pophelpershiny:v2.1.1
The app should be available through your web browser at http://0.0.0.0:8787
.
You need to have the latest JAVA JDK and JRE installed on your system. You need to have R (>= 3.5) statistical package installed. R is open-source and freely available to download for Windows, Mac and other OS. Then, basically run the code below. This installs the dependency packages, then it installs pophelperShiny
from github
using the remotes
package.
# install dependencies and remotes
.packages(c("ggplot2","gridExtra","label.switching","tidyr","remotes",
install"colourpicker","DT","highcharter","htmlwidgets","magrittr",
"markdown","RColorBrewer","shiny","shinyAce","shinyBS",
"shinythemes","shinyWidgets","viridisLite","writexl"),
= "http://cran.us.r-project.org")
repos
# install pophelper package from GitHub
::install_github('royfrancis/pophelper')
remotes
# install the package from GitHub
::install_github('royfrancis/pophelperShiny')
remotes
# load library for use
(pophelperShiny)
library
# launch app
() runPophelper
Francis, R. M. (2017). POPHELPER: an R package and web app to analyse and visualize population structure. Molecular Ecology Resources, 17(1), 27-32. DOI: 10.1111/1755-0998.12509
This R package is offered free and without warranty of any kind, either expressed or implied. I will not be held liable to you for any damage arising out of the use, modification or inability to use this program. This R package can be used, redistributed and/or modified freely for non-commercial purposes subject to the original source being properly cited. Licensed under GPL-3. Please make sure you verify all your results.
If you have an comments, suggestions, corrections or ideas on ways to improve or extend this package, feel free to submit an issue on the Github issues page.