read.gtx | R Documentation |
This function reads allelic data from a Genetix file (.gtx).
read.gtx(file)
file |
a file name specified by either a variable of mode character or a quoted string. |
A data frame with class c("loci", "data.frame")
.
The package adegenet has a similar function,
read.genetix
, but it returns an object of
class "genind"
.
Emmanuel Paradis
Belkhir, K., Borsa, P., Chikhi, L., Raufaste, N. and Bonhomme, F. (1996–2004) GENETIX 4.05, logiciel sous Windows(TM) pour la genetique des populations. Laboratoire Genome, Populations, Interactions, CNRS UMR 5000, Universite de Montpellier II, Montpellier (France). https://kimura.univ-montp2.fr/genetix/
read.loci
, write.loci
,
read.vcf
, read.genetix
require(adegenet)
(X <- read.gtx(system.file("files/nancycats.gtx", package = "adegenet")))
## compare with the example in ?read.genetix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.