Comments (3)
The fitted f2 values are not part of the output for the same reason that f4 is not returned by default: it would make the qpgraph
function slower. Since f2 is a special case of f4 with only two different populations, you can get the f2 SE and Z-scores like this:
qpgraph(f2_blocks, graph, return_f4 = TRUE)$f4 %>% filter(pop1 == pop3, pop2 == pop4)
.
Thanks for pointing this out, I will mention it in the documentation!
from admixtools.
Thanks a lot for the quick answer, it was easier than I thought.
I am closing this issue.
Leonardo
from admixtools.
To make this a bit more consistent, I have changed the return_f4
argument to return_fstats
in the latest commit. Setting this to TRUE
will return fitted and estimated f2 and f4. By default, only fitted and estimated f3 will be returned.
from admixtools.
Related Issues (20)
- Warning: solve(): system is singular HOT 2
- what is the output of compare_fits and what does it mean? HOT 7
- Question: The difference of qpAdm/qpWave model fitting between Admixtools 1 and 2. HOT 3
- Suggestion: Running extract_f2 for a very large dataset (600 ind. x 18,000,000 snp) HOT 2
- Errors when reject_f4z applied in find_graphs HOT 1
- extarct_f2_subset does not copy block_lengths file HOT 2
- How to constrain find_graphs search? HOT 3
- Zero drift edges HOT 1
- Distances between populations. HOT 1
- What should I do with "The 'plotly_click' event tied a source ID of 'src' is not registered"? HOT 1
- D statistic estimation HOT 2
- How to determine whether the score is reasonable in qpgraph HOT 1
- Update tutorial page 'parallelization' HOT 1
- Do I need to run LD Prune before running ADMIXTOOLS 2? HOT 1
- running find_graphs with the initgraph parameter HOT 3
- Outgroup f3 statistics not working with pseudohaploidized data. HOT 2
- slice_sample error in find_graphs HOT 1
- Error in satisfies_constraints(...) when using admix and event constraints with find_graphs HOT 2
- block_size_issues HOT 6
- $f4 missing from qpAdm 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 admixtools.