Citing popprxl

This package is a wrapper for poppr and readxl. When using this package, please cite the poppr package:

citation(package = "poppr")

Using popprxl

There is only one function in popprxl: read.genalexcel(). This allows you to read GenAlEx formatted excel files in .xlsx or .xls format.

Here's an example using the nancycats data set from the adegenet package.

Note: The system.file() command is a way to access files that come with a package. You will need to supply the path to your own excel file.

library("popprxl")
(nancyxlsx <- system.file("files/nancycats.xlsx", package = "popprxl"))
(nancy    <- read.genalexcel(nancyxlsx))

Because poppr is loaded along with popprxl, you can use any functions in poppr:

info_table(nancy, plot = TRUE)


zkamvar/popprxl documentation built on June 23, 2020, 1:14 p.m.