Comments (2)
Early on, when I wrote the extract_f2_subset()
function, I thought it would be a good idea to compute f2-statistics for a large number of populations, and then create subsets of that. Because the missing data problem tends to get worse for more populations, I abandoned that idea, and I haven't updated the extract_f2_subset()
in a while. It might work if you copy the rds files with the block length information into the new directory.
Another thing you could try is to pass the pops
argument to f2_from_precomp()
:
f2_blocks = f2_from_precomp('./f2sub', pops = c('2','3','5','8','9'))
I have never tested this with numbers as populations names. If you run into problems with that, try using names that start with letters.
Please let me know if this works, or if there is a reason why extract_f2_subset()
would be better in your case than passing the pops
argument to f2_from_precomp()
!
from admixtools.
Hello
Copying the rds files works OK. However your suggestion for:
f2_blocks = f2_from_precomp('./f2', pops = c('2','3','5','8','9'))
seems more reasonable. I just did not pay attention to this option. Working with numbers as characters works fine for me.
Thank you
from admixtools.
Related Issues (20)
- find.graphs error in 'slice_sample' HOT 3
- qpfstats error HOT 3
- Is extract_f2 maxmem per core? HOT 2
- The order of right population impact the qpAdm result HOT 1
- 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
- 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
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.