Brent Pedersen

Results 878 comments of Brent Pedersen

just for another 0.02 of a data-point... having PCA available would open up some use-cases for Arraymancer for my use.

this is great! I will definitely be making use of this. thanks for your work on this project.

with `--stackTrace:off` I get: ``` Error: unhandled exception: /home/brentp/.nimble/pkgs/arraymancer-0.6.0/tensor/selectors.nim(218, 26) `dstSlice`gensym34935440[axis].a == size`gensym34935437` [AssertionDefect] ```

that's occurring in the code that's using the new fancy indexing, so I assume that's corrupting memory and then the error is appearing later (?).

that assertion error reproducible with: ```Nim var T = randomTensor(2504, 17384, 0.5'f32) var sel = randomTensor(T.shape[1], 1'f32).asType(bool) sel[100..200] = false T = T[_, sel] ```

As far as I can tell, this is not exposed within d4binding

I understand. Thanks for considering it and for the software.

Hi, you have many chromosomes in there so the html output just gets too big. You can get more reasonable output with: ``` grep -v ^NW example.mosdepth.global.dist.txt > subset.mosdepth.global.dist.txt ```...

You can probably edit plot_dist.py to do that, it's really just meant as an example. You can also use multiqc on the mosdepth output to get nicer plots.

Hi Anthony, yes, this is a perfect example of something you can do trivially with d4. It is so fast that you can extract this information in seconds for each...