Comments (3)
Ugh, the treatment of the X chromosome and covariates in scanone is such a mess. I can't really tell what's going on.
But it seems like the problem is that the LOD scores are coming out negative in the permutation test, which get replaced with 0s, because of the treatment of sex as covariate on X chromosome, under null or alternative. But I'm not entirely sure what it's doing. :(
The solution seems to be to use a stratified permutation test. This is necessary for the 4-way cross, because the males and females are coded differently on the X.
from qtl.
Okay I think I get it. Sex is forced as a covariate under the null, because it's assumed that it will be implicit in the genotypes under the alternative. But when you permute the phenotypes vs genotypes, the genotypes no longer are separated by sex, and so you get a much better fit under the null than under the alternative.
from qtl.
This doesn't seem to be a problem in the software so much as a need to use stratified permutations in this case. So I'm going to close the issue.
from qtl.
Related Issues (20)
- Change read.cross warning about length of arg alleles
- pull.rf gives error with duplicate marker names
- GH Action check failing on MacOS HOT 2
- stepwiseqtl has problems with X chr and sex covariate HOT 1
- Problem in scantwo permutations HOT 1
- addcovar arg for cim()
- addtoqtl should clear attributes HOT 1
- Error: "long vectors (argument 5) are not supported in .C" HOT 2
- switch.alleles should give error with results of markerlrt HOT 1
- reduce2grid error HOT 2
- locationXO and countXO for BCsFt
- addint bug when X chr QTL and missing phenotypes HOT 2
- summary.scanone error with threshold as a vector
- Improper header in pheno dataframe with single column pheno file HOT 3
- Warning on CRAN
- Additional warnings on CRAN
- Error handling of pheno.col in cim()
- Compilation error on R-devel HOT 3
- Calloc/Realloc can no longer be used? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtl.