storeylab / alstructure Goto Github PK
View Code? Open in Web Editor NEWAn R package that implements the ALStructure algorithm for estimating the admixture model of genetic population structure
License: MIT License
An R package that implements the ALStructure algorithm for estimating the admixture model of genetic population structure
License: MIT License
When using the function estimate_d()
, if there is missing data in the x
matrix I get the error from the bug title:
Error in eigen(Wm) : infinite or missing values in 'x'
I know this might not be easy, but SNP matrices frequently contain some % of missing data.
Is there any way to work around the issue in order to perform a d_hat
estimation in the presence of missing data?
Thank you in advance!
Downloading GitHub repo storeylab/alstructure@master
0 [main] tar 12172 fstab_read_flags: invalid fstab option - '0'
Error: Does not appear to be an R package (no DESCRIPTION)
Can ALStructure handle non biallelic data?
The matrix used as input in the examples contains 0 (homozygous "a"), 1 (heterozygous) and 2 (homozygous "A"). But what about a tri-allelic SNP? How should this be represented?
I have tried to convert a VCF file with known tri-allelic SNPs to .bed
using PLINK to see how the example from ALStructure would handle it (lfa::read.bed()
), but it was pointless. PLINK will consider anything different from the above cases as missing data.
I have tested, and it is possible to load a matrix into ALStructure that contains more than 0, 1 and 2 values. But does it make any sense regarding ALStructure's algorithm?
Thank you in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.