Comments (2)
One workaround is to make a copy in memory:
s0 = copy(SnpArrays.filter(SnpArrays.datadir("mouse"), 1:2, 1:5))
s1 = SnpArrays.filter(SnpArrays.datadir("mouse"), 1:2, 1:3)
s2 = SnpArrays.filter(SnpArrays.datadir("mouse"), 1:2, 4:5)
julia> s0
2×5 Array{UInt8,2}:
0x02 0x02 0x02 0x02 0x03
0x02 0x02 0x03 0x02 0x02
Though I'm not sure if this is expected behavior..
from snparrays.jl.
Oh, I got it. The destination file (default argument is used) is unchanged for each filtering. Maybe we can change the default name each time the filter
function is called?
from snparrays.jl.
Related Issues (20)
- TagBot trigger issue HOT 11
- SnpArray view vs SnpArray.data matrix [question] HOT 3
- Linear algebra benchmarks are messed up HOT 1
- No Mmap option
- `SnpArrays.filter` `min_maf` keyword argument not working? HOT 5
- GRM factor HOT 3
- Linear Algebra is not actually parallel HOT 3
- different ways of constructing GRMs HOT 1
- LoopVectorization fails on some operations? HOT 3
- Out of memory with grm HOT 3
- Improved Tiling for Matrix-Vector Products HOT 8
- Support Absolute path for merge_plink HOT 1
- LoopVectorization deprecation HOT 1
- feature request: copyto!(v, s) for SnpBitMatrix and SnpLinAlg HOT 8
- Breaking change from VectorizationBase.jl HOT 10
- how to subset the bed file based on individuals ID in Jupyter HOT 3
- SnpLinAlg broken for some data on master HOT 2
- A*x not correct if size(A, 1) % 4096 is 1, 2, or 3
- A*x not correct when impute = true
- No manifest.toml? HOT 3
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 snparrays.jl.