Skip to content

Instantly share code, notes, and snippets.

View gist:c129d419df88ff957513bc6e2fbda2b8
using Distributions
using GLM
using RCall
using Random
n = 10000
ses = collect(1:n)
pgs = rand(Normal(), n)
View make24.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ymer /
Last active Aug 28, 2017
Bartholin biomedicine script repository

##Munge sumstats Takes an unprocessed GWAS sumstat file, performs QC and changes it to a standard format. Location: Details at: ? Contact: Jonatan

View Challenge #298 [Easy] Too many Parentheses.jl
using Combinatorics
function find_matching_pairs(s)
l, starts = [], []
for i in 1:length(s)
if s[i] == "("
push!(starts, i)
elseif s[i] == ")"
push!(l, (pop!(starts), i))