platy {dartR.data}R Documentation

Example data set as text file to be imported into a genlight object

Description

Check ?read.genetable in pacakge PopGenReport for details on the format.

Format

csv

Author(s)

Bernd Gruber (bugs? Post to https://groups.google.com/d/forum/dartr

Examples

## Not run: 
library(PopGenReport)
fp <- file.path(system.file( package="dartR.data"),"extdata/platy.csv")
read.csv(fp)
platy <- read.genetable(fp, ind=1, pop=2, lat=3, long=4, other.min=5, other.max=6, 
oneColPerAll=FALSE, sep='/')
platy.gl <- gi2gl(platy, parallel=FALSE)
df.loc <- data.frame(RepAvg = runif(nLoc(platy.gl)), CallRate = 1)
platy.gl@other$loc.metrics <- df.loc
gl.report.reproducibility(platy.gl)

## End(Not run) 

[Package dartR.data version 1.0.8 Index]