SNPkit is an R package designed for manipulation,
organization, and analysis of genotypic data, with a strong focus on
integration with tools such as FImpute and
PLINK.
It provides robust S4-based data structures for storing genotypes and marker maps, along with functions to combine different genotype panels, summarize data, and prepare files for imputation and selection pipelines.
Key capabilities:
FinalReport.txt files (any panel
density) and merge multiple genotype panels into a single object.runPCA()) and anticlustering
(runAnticlusteringPCA()) utilities for exploring structure
and building balanced groups (e.g.ย batch design).SNPkit depends on snpStats,
which is distributed through Bioconductor. Install it
first:
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")
BiocManager::install("snpStats")Then install the stable release from CRAN:
install.packages("SNPkit")Or install the development version (latest features) from GitHub:
# install.packages("remotes")
remotes::install_github("viniciusjunqueira/SNPkit")runPCA() and runAnticlusteringPCA() can use
RSpectra
for a much faster, low-memory truncated PCA on wide genotype data. It is
optional โ install it to enable the fast path:
install.packages("RSpectra")The full package website with detailed function reference and vignettes is available at:
Key pages:
SNPkit is licensed under the GPL-3 license.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.