locStra

Fast Implementation of (Local) Population Stratification Methods

CRAN Package

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.


Team


Insights

Last 30 days

This package has been downloaded 249 times in the last 30 days. More than a random curiosity, but not quite a blockbuster. Still, it's gaining traction! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 12 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
2 downloadsMar 16, 2025
8 downloadsMar 17, 2025
20 downloadsMar 18, 2025
9 downloadsMar 19, 2025
14 downloadsMar 20, 2025
7 downloadsMar 21, 2025
6 downloadsMar 22, 2025
4 downloadsMar 23, 2025
6 downloadsMar 24, 2025
4 downloadsMar 25, 2025
3 downloadsMar 26, 2025
3 downloadsMar 27, 2025
24 downloadsMar 28, 2025
1 downloadsMar 29, 2025
5 downloadsMar 30, 2025
3 downloadsMar 31, 2025
9 downloadsApr 1, 2025
9 downloadsApr 2, 2025
2 downloadsApr 3, 2025
12 downloadsApr 4, 2025
8 downloadsApr 5, 2025
8 downloadsApr 6, 2025
17 downloadsApr 7, 2025
5 downloadsApr 8, 2025
8 downloadsApr 9, 2025
4 downloadsApr 10, 2025
10 downloadsApr 11, 2025
22 downloadsApr 12, 2025
4 downloadsApr 13, 2025
12 downloadsApr 14, 2025
0 downloadsApr 15, 2025
0 downloadsApr 16, 2025
0 downloadsApr 17, 2025
0 downloadsApr 18, 2025
0 downloadsApr 19, 2025
1
24

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 3,459 times in the last 365 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The day with the most downloads was May 08, 2024 with 49 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports4 packages
  • Linking To2 packages