Package: locStra 1.9
locStra: Fast Implementation of (Local) Population Stratification Methods
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 via fast PCA without actually computing the similarity matrices. The fast PCA to compute the k leading eigenvectors can now also be run directly from 'bed'+'bim'+'fam' files.
Authors:
locStra_1.9.tar.gz
locStra_1.9.zip(r-4.7)locStra_1.9.zip(r-4.6)locStra_1.9.zip(r-4.5)
locStra_1.9.tgz(r-4.6-x86_64)locStra_1.9.tgz(r-4.6-arm64)locStra_1.9.tgz(r-4.5-x86_64)locStra_1.9.tgz(r-4.5-arm64)
locStra_1.9.tar.gz(r-4.6-arm64)locStra_1.9.tar.gz(r-4.6-x86_64)locStra_1.9.tar.gz(r-4.5-arm64)locStra_1.9.tar.gz(r-4.5-x86_64)
locStra_1.9.tgz(r-4.5-emscripten)
locStra.pdf |locStra.html✨
locStra/json (API)
| # Install 'locStra' in R: |
| install.packages('locStra', repos = c('https://ghahn-hsph.r-universe.dev', 'https://cloud.r-project.org')) |
- testdata - Simulated test data.
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:da62338e09. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 179 | ||
| linux-devel-x86_64 | OK | 184 | ||
| source / vignettes | OK | 197 | ||
| linux-release-arm64 | OK | 184 | ||
| linux-release-x86_64 | OK | 186 | ||
| macos-release-arm64 | OK | 171 | ||
| macos-release-x86_64 | OK | 304 | ||
| macos-oldrel-arm64 | OK | 172 | ||
| macos-oldrel-x86_64 | OK | 493 | ||
| windows-devel | OK | 174 | ||
| windows-release | OK | 156 | ||
| windows-oldrel | OK | 275 | ||
| wasm-release | OK | 140 |
Exports:bed_fastCovEVsbed_fastGrmEVsbed_fastJaccardEVsbed_fastSMatrixEVscovMatrixfastCovEVsfastGrmEVsfastJaccardEVsfastSMatrixEVsfullscangrMatrixjaccardMatrixmakeWindowspowerMethodselectVariantssMatrix
Dependencies:BHbigassertrbigparallelrbigreadrbigsnprbigsparserbigstatsrbigutilsrbitclicodetoolscowplotcpp11data.tableDEoptimRdigestdoParalleldoRNGfarverffflockforeachggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMatrixnaborparallellypillarpkgconfigpsR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackRhpcBLASctlrlangrmiorngtoolsrobustbaseroptimRSpectrarunonceS7scalestibbletriebeardurltoolsutf8vctrsviridisLitewithr
