View source: R/utils.allelic.richness.r
| utils.allelic.richness | R Documentation |
A utility script to calculate allelic richness using bootstraping
utils.allelic.richness(df, indices, boot_method = "loc")
df |
Matrix of SNP genotypes (0/1/2/NA); for boot_method "loc" the rows are loci and columns individuals, matching boot::boot's row resampling over loci [required]. |
indices |
Row indices supplied by boot::boot for the current bootstrap replicate [required]. |
boot_method |
"loc" to bootstrap over loci (df is transposed back before computation), "ind" to bootstrap over individuals [default "loc"] |
Mean rarefied allelic richness across sites, rarefied to the minimum allele count observed across sites (hypergeometric formula)
Custodian: Luis Mijangos – Post to https://groups.google.com/d/forum/dartr
Other utilities:
gl.He(),
gl.Ho(),
gl.alf(),
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.pair.counts(),
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.