How to use and cite popprxl

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)


Try the popprxl package in your browser

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

popprxl documentation built on May 2, 2019, 3:54 a.m.