View source: R/utils.fbm.export.r
| utils.fbm.pair.counts | R Documentation |
WARNING: UTILITY SCRIPTS ARE FOR INTERNAL USE ONLY AND SHOULD NOT BE USED BY END USERS AS THEIR USE OUT OF CONTEXT COULD LEAD TO UNPREDICTABLE OUTCOMES.
For each pair of individuals, the number of loci scored in both
(L) and, among those, the numbers that differ by one (n1)
and by two allele copies (n2), counted over blocks of loci read
from the backing file (compiled with Rcpp at the first call). Genotypes
must be coded 0, 1, 2 or NA (diploid). The counts are whole numbers, so
they do not depend on the block size; distances built from them are
identical to those computed from the decoded matrix. Only for file-backed
objects; a gen-backed object gives an error.
utils.fbm.pair.counts(x)
x |
A file-backed dartR object [required]. |
A list of three integer vectors L, n1, n2,
each in the order of a dist object (lower triangle by columns) of
length n(n - 1)/2 (12 bytes per pair).
Custodian: Bernd Gruber – Post to https://groups.google.com/d/forum/dartr
Other utilities:
gl.He(),
gl.Ho(),
gl.alf(),
utils.allelic.richness(),
utils.basic.stats(),
utils.check.datatype(),
utils.collapse.matrix(),
utils.dart2genlight(),
utils.dist.binary(),
utils.fbm.amat(),
utils.fbm.blocks(),
utils.fbm.colblocks(),
utils.fbm.colwise(),
utils.fbm.copy(),
utils.fbm.count.mean(),
utils.fbm.decode(),
utils.fbm.grm(),
utils.fbm.has(),
utils.fbm.new(),
utils.fbm.reader(),
utils.fbm.rowwise(),
utils.fbm.tempfile(),
utils.flag.start(),
utils.het.pop(),
utils.history.call(),
utils.is.fixed(),
utils.jackknife(),
utils.n.var.invariant(),
utils.plot.save(),
utils.read.fasta(),
utils.read.ped(),
utils.recalc.avgpic(),
utils.recalc.callrate(),
utils.recalc.freqhets(),
utils.recalc.freqhomref(),
utils.recalc.freqhomsnp(),
utils.recalc.maf(),
utils.reset.flags(),
utils.transpose(),
utils.vcf.depth(),
utils.vcfr2genlight.polyploid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.