Learn R Programming

SeqArray (version 1.10.1)

seqNumAllele: Number of alleles

Description

Returns the numbers of alleles for each site.

Usage

seqNumAllele(gdsfile, parallel=getOption("seqarray.parallel", FALSE))

Arguments

gdsfile
parallel
FALSE (serial processing), TRUE (parallel processing) or other value; parallel is passed to the argument cl in seqParallel, see seqParallel for more details.

Value

The numbers of alleles for each site.

See Also

seqAlleleFreq, seqMissing, seqParallel

Examples

Run this code
# the GDS file
(gds.fn <- seqExampleFileName("gds"))

# display
f <- seqOpen(gds.fn)

table(seqNumAllele(f))

# close the GDS file
seqClose(f)

Run the code above in your browser using DataLab