README.md

popprxl

Build Status Coverage Status

On CRAN: Downloads from Rstudio mirror per month Downloads from Rstudio mirror CRAN version

A small package that allows import of GenAlEx data directly into poppr from excel.

Setup is simple.

From CRAN:

install.packages("popprxl")

From GitHub:

install.packages("devtools")
install_github("zkamvar/popprxl", build_vignettes = TRUE)

popprxl has one function: read.genalexcel(). It can be used to read in GenAlEx data directly from excel:

library("popprxl")
#> Loading required package: poppr
#> Loading required package: adegenet
#> Loading required package: ade4
#> 
#>    /// adegenet 2.0.1 is loaded ////////////
#> 
#>    > overview: '?adegenet'
#>    > tutorials/doc/questions: 'adegenetWeb()' 
#>    > bug reports/feature requests: adegenetIssues()
#> This is poppr version 2.1.1. To get started, type package?poppr
#> OMP parallel support: unavailable
#> 
#> popprxl is loaded. Use read.genalexcel() to read in your data.
(nancyxlsx <- system.file("files/nancycats.xlsx", package = "popprxl"))
#> [1] "/Users/zhian/R/popprxl/files/nancycats.xlsx"
(nancy    <- read.genalexcel(nancyxlsx))
#> 
#> This is a genclone object
#> -------------------------
#> Genotype information:
#> 
#>    237 original multilocus genotypes 
#>    237 diploid individuals
#>      9 codominant loci
#> 
#> Population information:
#> 
#>      1 stratum - Pop
#>     17 populations defined - P01 P02 P03 ... P15 P16 P17


Try the popprxl package in your browser

Any scripts or data that you put into this service are public.

popprxl documentation built on May 29, 2017, 6:15 p.m.