Package: locStra
Type: Package
Title: Fast Implementation of (Local) Population Stratification Methods
Version: 1.7
Date: 2021-01-25
Author: Georg Hahn [aut,cre], Sharon M. Lutz [ctb], Christoph Lange [ctb]
Maintainer: Georg Hahn <ghahn@hsph.harvard.edu>
Description: Fast implementations to compute the genetic covariance matrix, the Jaccard similarity matrix, the s-matrix (the weighted Jaccard similarity matrix), and the (classic or robust) genomic relationship matrix of a (dense or sparse) input matrix (see Hahn, Lutz, Hecker, Prokopenko, Cho, Silverman, Weiss, and Lange (2020) <doi:10.1002/gepi.22356>). Full support for sparse matrices from the R-package 'Matrix'. Additionally, an implementation of the power method (von Mises iteration) to compute the largest eigenvector of a matrix is included, a function to perform an automated full run of global and local correlations in population stratification data, a function to compute sliding windows, and a function to invert minor alleles and to select those variants/loci exceeding a minimal cutoff value. New functionality in locStra allows one to extract the k leading eigenvectors of the genetic covariance matrix, Jaccard similarity matrix, s-matrix, and genomic relationship matrix without actually computing the similarity matrices.
License: GPL (>= 2)
Imports: Rcpp (>= 0.12.13), Rdpack, Matrix, RSpectra
RdMacros: Rdpack
LinkingTo: Rcpp, RcppEigen
RoxygenNote: 7.1.1
NeedsCompilation: yes
Packaged: 2021-01-27 02:46:56 UTC; acer
Repository: CRAN
Date/Publication: 2021-01-27 09:10:06 UTC
Built: R 4.0.2; x86_64-apple-darwin17.0; 2021-01-28 11:40:45 UTC; unix
Archs: locStra.so.dSYM
