Snpclust
Single nucleotide polymorphism unsupervised clustering
Install / Use
/learn @ThomasChln/SnpclustREADME
SNPClust
The R package snpclust performs unsupervised feature selection and summarization by selecting SNPs based on principal component analysis (PCA) contributions, and estimating haplotypes of nearby correlated SNPs using the SHAPEIT software.
Installation
Devtools
SNPClust is an R package that requires the softwares PLINK and SHAPEIT. Once they are installed, you can open R and use the devtools R package to install the development version from Github:
if (!require(devtools)) install.packages('devtools')
devtools::install_github('ThomasChln/snpclust', build_vignettes = TRUE)
Docker
A Docker image with PLINK, SHAPEIT, and SNPClust installed is available.
docker pull thomaschln/snpclust
Motivation
SNPClust was developed to reclassify systemic autoimmune diseases (SADs) based on genetic markers instead of clinical criteria for the European-funded project PRECISESADS.
It was applied to a genome wide dataset of 379,190 SNPs from 4,212 systemic lupus erythematosus (SLE) patients and 1,221 healthy controls and results were published in PLOS ONE: Single Nucleotide Polymorphism Clustering in Systemic Autoimmune Diseases
It was also used to reproduce the Human Genome Diversity Panel PCA of 300,000 SNPs of 1,000 samples Replication of the principal component analyses of the human genome diversity panel.
Usage
The snpclust function is the main function and can be called on a snpgds file path from the R package SNPRelate. Results can be displayed with several plots. A demo is available in the SNPClust applied to Europeans HTML vignette.
License
This package is free and open source software, licensed under GPL-3.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
