Overview
This section covers the basics of installation and how to get site rates using IQTREE2. Also featured is a demonstration of how to import this external data and the dependencies PhyInformR utilizes
Once you have imported your site rate file and your guide tree this section covers how to generate PI profiles
Installation
PhyInformR is easy to install. Note that it is currently not on CRAN but will be back following a major update. In the meantime install via devtools or download the compressed R script from github and install it manually
##cran install is currently not available
#install.packages("PhyInformR")
#library(PhyInformR)
To install from github
library(devtools)
install_github("carolinafishes/PhyInformR")
library(PhyInformR)
FOR WINDOWS USERS - devtools will not install depencies for certain versions of windows. This is being addressed and should be fixed in the next major release. If your install fails, please first install the dependencies through CRAN and then use devtools as above for the final install.
install.packages("doParallel")
install.packages("phytools")
install.packages("splines")
install.packages("gplots")
install.packages("RColorBrewer")
install.packages("foreach")
install.packages("iterators")
install.packages("geiger")
install.packages("doParallel")
install.packages("gridExtra")
install.packages("hexbin")
install.packages("PBSmodelling")
install.packages("ggplot2")
Once you load PhyInformR, set the number of cores at the start of your session to enable later parallel processing if desired
We will also be hosting more sample data through Zenodo archives and github to explore new features as we develop them, so check back often!
Dependencies
PhyInformR is built upon the efforts of several other R packages including:phytools
splines
gplots
RColorBrewer
foreach
iterators
geiger
doParallel
gridExtra
hexbin
ggplot2
PBSmodelling
Several functions in PhyInformR use parallel processing. Enable this via
library(doParallel)
#set the number of cores if you are working in parallel
registerDoParallel(cores=8)
now set your working directory to save files
setwd("~/Documents/phyinformR")