dartR

97 views
Skip to first unread message

sunny kevin

unread,
Feb 12, 2021, 3:30:00 AM2/12/21
to dartR
Hi Arthur,

Firstly, thanks for providing the dartR package.

I'm going to the tutorial which I found on the web, I'm unable to find the"testset.csv" & ind_metrics.csv files from the github. If possible could you share datasets that I'd help me in learning the DArT analysis.

# Reading DArT Files into a Genlight Object

gl <-gl.read.dart(filename ="testset.csv",ind.metafile =" ind_metrics.csv")

Thanks

Kevin


Jose Luis Mijangos

unread,
Feb 12, 2021, 3:52:25 AM2/12/21
to dartR
Hi Kevin,

There are four sample datasets included with dartR. One way to access them is:

library(dartR)

# This a test data set to test the validity of functions within dartR and is based on a DArT SNp data set of simulated bandicoots across Australia. It contains 96 individuals and 1000 SNPs.
test <- bandicoot.gl

# This is a test data set on turtles. 250 individuals, 255 loci in >30 populations.
test_2 <- testset.gl

# This a test data set to run a landscape genetics example. It contains 10 populations of 30 individuals each and each individual has 300 loci. There are no covariates for individuals or loci.
test_3 <- possums.gl

# Testfile in DArT format (as provided by DArT)
test_4 <- gl.read.dart(filename = paste(.libPaths()[1],"/dartR/extdata/testset_SNPs_2Row.csv",sep="" ),ind.metafile =  paste(.libPaths()[1],"/dartR/extdata/testset_metadata.csv",sep="" ))

Cheers,
Luis
Reply all
Reply to author
Forward
0 new messages