m
option, required when genotypes are passed via a function (rare)indexes_keep
to ind_keep
, corrected documentation to say it filters individuals (incorrectly said it filtered loci).kinship_std_limit
kinship_std
description of mean_of_ratios
parameter.
Now it correctly says that FALSE
is the default value.solve_m_mem_lim
from the popkin
package, which generalizes some of the calculations that used to be part of the memory estimation/control code in get_mem_lim_m_kinship_std
and get_mem_lim_m_WC
.kinship_std
now preserves individual names when present in input genotype matrix.solve_m_mem_lim
from the popkin
package (>= 1.2.6.9000).class
usage now that matrices return a two-element array in R-develfst_wh
).fst_wc
fixed a minor bug: sample size was half as it should have been, only noticeable in very small samples.fst_wc
, fst_wh
, fst_hudson_k
, and fst_hudson_pairwise
fst_hudson_pairwise
to make it much more efficient in large datasetsfst_hudson_k
separately for every pair of subpopulations, which caused excessive and non-optimal file reading, which scaled increasingly poorly as the number of subpopulations increased.EIGENSUITE
7.2.1 (executable smartpca
)fst_wc
sample size formula to what it was prior to version 1.0.8.9000. Bias tests showed that the original sample size equation was best.fst_wc
has new option FIT
, which if TRUE
additionally includes calculations of the total inbreeding (FIT) next to the default structural inbreeding (FST) output list.fst_wc
and fst_wh
, which previously propagated some matrix-vector products incorrectly.
This bug resulted in small biases when subpopulation sample sizes were unequal (sample weighing was set incorrectly; there was no bug when all sample sizes were equal).
The bug was introduced in version 1.0.8.9000 (commit b445e3e) and remained until this version.kinship_std
want_M
option, which if TRUE
returns a list containing the kinship
matrix as well as the pairwise complete count matrix M
.m_chunk_max
option (default 1000), which sets the maximum number of loci to process at the time.
The new default behavior reduces memory usage a lot, especially on machines with large memory, without sacrificing speed.
Original version would use a lot of memory just because it was available, which could be inconvenient when trying to run other processes, and did not result in increased speed, so it was unnecessary at best.mean_of_ratios = FALSE
version only, and only occured when m_chunk
was smaller than m_loci
.
In original version m_chunk
was as large as memory allowed, so the bug would have only occurred when m_loci
was very large.m_chunk_max
option (see kinship_std
above) to functions: fst_wc
, fst_wh
, fst_hudson_k
, and fst_hudson_pairwise
.
This reduces memory usage a lot without sacrificing speed.kinship_wg_limit
, calculates the limit of the Weir-Goudet (WG) estimator.kinship_gcta_limit
.NEWS.md
slightly to improve its automatic parsing.test_that
section for comparisons to the SNPRelate
package (mostly changed indentation).kinship_std
with mean_of_ratios = TRUE
from the same input genotypes.kinship_gcta_limit
to clarify my recent findings.inbr_gcta
. which I planned to validate against GCTA's estimate when I discovered my flawed assumption. I present it anyway since it was a lot of work, though it is a historical dead end most likely.kinship_gcta_limit
in an admixture simulation (not part of this package).Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.