08.04.2015 Views

The ade4 Package - NexTag Supports Open Source Initiatives

The ade4 Package - NexTag Supports Open Source Initiatives

The ade4 Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

fuzzygenet 105<br />

fuzzygenet<br />

Reading a table of genetic data (diploid individuals)<br />

Description<br />

Reads data like char2genet without a priori population<br />

Usage<br />

fuzzygenet(X)<br />

Arguments<br />

X<br />

a data frame of strings of characters (individuals in row, locus in variables), the<br />

value coded ’000000’ or two alleles of 6 characters<br />

Details<br />

Value<br />

In entry, a row is an individual, a variable is a locus and a value is a string of characters, for example,<br />

012028 for a heterozygote carying alleles 012 and 028; 020020 for a homozygote carrying two<br />

alleles 020 and 000000 for a not classified locus (missing data).<br />

In exit, a fuzzy array with the following encoding for a locus:<br />

0 0 1 . . . 0 for a homozygote<br />

0 0.5 0.5 . . . 0 for a heterozygote<br />

p1 p2 p3 . . . pm for an unknown where (p1 p2 p3 . . . pm) is the observed allelic frequencies for all<br />

tha available data.<br />

returns a data frame with the 6 following attributs:<br />

col.blocks<br />

all.names<br />

loc.names<br />

row.w<br />

col.freq<br />

col.num<br />

a vector containing the number of alleles by locus<br />

a vector containing the names of alleles<br />

a vector containing the names of locus<br />

a vector containing the uniform weighting of rows<br />

a vector containing the global allelic frequencies<br />

a factor ranking the alleles by locus<br />

Note<br />

In the exit data frame, the alleles are numbered 1, 2, 3, . . . by locus and the loci are called L01, L02,<br />

L03, . . . for the simplification of listing. <strong>The</strong> original names are kept.<br />

Author(s)<br />

Daniel Chessel

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!