Daniel E. Weeks's Avatar

Daniel E. Weeks

@statgendan.bsky.social

Statistical geneticist. Professor of Human Genetics and Biostatistics at the University of Pittsburgh. Assiduously meticulous.

668 Followers  |  1,186 Following  |  113 Posts  |  Joined: 15.01.2025
Posts Following

Posts by Daniel E. Weeks (@statgendan.bsky.social)

README

The canvas() function from the ggview R package is very useful for previewing/tweaking a ggplot into publication-ready format: it renders a plot "as it would appear if saved to a file with the specified dimensions".

cran.r-project.org/web/packages...

#RStats #ggplot #ggview

05.03.2026 01:53 β€” πŸ‘ 35    πŸ” 8    πŸ’¬ 1    πŸ“Œ 3

Some work freshly published at EJS: projecteuclid.org/journals/ele...

'Analysis of Multiple-try Metropolis via PoincarΓ© inequalities'
- Rocco Caprio, Sam Power, Andi Q. Wang

We conduct a convergence analysis of a specific class of MCMC procedures based on multiple-proposal strategies.

04.03.2026 21:03 β€” πŸ‘ 8    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Post image

Data

04.03.2026 18:53 β€” πŸ‘ 232    πŸ” 60    πŸ’¬ 7    πŸ“Œ 4
Preview
Genome modelling and design across all domains of life with Evo 2 - Nature Evo 2 is an artificial intelligence-based biological foundation model trained on 9 trillion DNA base pairs spanning all domains of life that predicts functional properties from genomic sequences and p...

🀯 Evo 2, a model trained on 9 trillion DNA letters from curated genomic atlas across all domains of life β€œlearns to accurately predict functional impact of gene variation...Model parameters, training code, inference code etc = fully open, to accelerate exploration & design of biological complexity”πŸ§ͺ

04.03.2026 18:19 β€” πŸ‘ 35    πŸ” 11    πŸ’¬ 1    πŸ“Œ 2

Are you interested in understanding how social and structural determinants of health influence estimates of genetic risk? Looking for figures for teaching these concepts?

Check out our work on considerations for modeling them together, led by Sara Cromer and Dave Conti with @prsmethods.bsky.social

04.03.2026 17:46 β€” πŸ‘ 20    πŸ” 12    πŸ’¬ 0    πŸ“Œ 0

β€œMathematics may be compared to a mill of exquisite workmanship which grinds you stuff of any degree of fineness, but nevertheless what you get out depends on what you put in - … so pages of formulae will not get a definite result out of loose data.”
TH Huxley

05.03.2026 01:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

🧡 New publication from the PGC Anxiety Working Group. Our GWAS meta-analysis of anxiety disorders is now published in @natgenet.nature.com! πŸ”—: doi.org/10.1038/s415...

01.03.2026 21:41 β€” πŸ‘ 28    πŸ” 17    πŸ’¬ 1    πŸ“Œ 1

I was sad to learn that my postdoctoral mentor, David Botstein, died yesterday. I started with David as a postdoc in 1998, and he had a profound effect on both my life and scientific career. He was a giant in the field of genetics, making seminal contributions in both yeast and human genetics. 1/

28.02.2026 20:25 β€” πŸ‘ 115    πŸ” 33    πŸ’¬ 5    πŸ“Œ 2

An important #rstats post here. (Perhaps a better title: Why tidymodels might not be so tidy)

I don't eschew this kind of discussion (|> vs %>%, ...) as R Flame Wars. In fact, it's important to continue to hone the language tools we use to express & implement our ideas/models/graphs.

27.02.2026 02:05 β€” πŸ‘ 18    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
Preview
Interbreeding between Neanderthals and modern humans was strongly sex biased Sex biases in admixture and other demographic processes are recurrent features throughout human evolution. For admixture between Neanderthals and anatomically modern humans (AMHs), sex bias has been p...

Many living people carry fragments of Neanderthal DNA, remnants of ancient interbreeding events, with uneven distribution across chromosomes. New work by @sarahtishkoff.bsky.social lab suggests patterns are most consistent with Neanderthal contribution to human populations being highly male biased.πŸ§ͺ

26.02.2026 19:27 β€” πŸ‘ 58    πŸ” 25    πŸ’¬ 5    πŸ“Œ 0

Specifically, the idea of source credibility just doesn't apply straightforwardly to LLM interactions. When I get info from another person I can ask: how does the content relate to their expertise? Their lived experience? Their interests and biases?

8/

26.02.2026 13:18 β€” πŸ‘ 122    πŸ” 27    πŸ’¬ 2    πŸ“Œ 6
Post image

What's your favourite plot type?
Extra points if it's a cool science type plot.

I really like Violin plots with swam overlays.

25.02.2026 11:31 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Applying machine-learning and deep-learning to predict depression from brain MRI and identify depression-related brain biology - Translational Psychiatry Translational Psychiatry - Applying machine-learning and deep-learning to predict depression from brain MRI and identify depression-related brain biology

Happy to share our latest paper, the work of @clarajiang.bsky.social who trained brain-based predictors of depression on the UK Biobank (N=7,500 curated cases and matched controls) using AI/deeplearning as well as efficient statistical learning (BLUP).

See thread below for a summary of findings

25.02.2026 23:45 β€” πŸ‘ 7    πŸ” 4    πŸ’¬ 1    πŸ“Œ 1
Post image

What even is truth? Seems like it should be the purview of philosophers and poets β€” clearly not people (me) designing snakemake workflows.

26.02.2026 01:36 β€” πŸ‘ 12    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

I can't be the only one who is made /uncomfortable/ by the way that razor clams burrow into sand, right?

The final moments of this video by Kate Crump on the Oregon coastline are sort of the crowning glory of horror. 😬

But how does this even work?
Let's talk about bivalve mobility (if we must).

26.02.2026 02:05 β€” πŸ‘ 422    πŸ” 96    πŸ’¬ 26    πŸ“Œ 37

Retraction notice: β€œthe authors acknowledged that their analyses include coding errors. The central error arose from the inverse hyperbolic sine being calculated based on y+1, … left over from an earlier version of the study in which a log (y+1) approach was used instead of the hyperbolic sine.”

26.02.2026 08:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@wytamma.bsky.social 's WASM tools have transformed my experience of teaching Python to first year undergraduate biologists this year. Since last year, I've been teaching ~400 undergrads how to code (functions, lists, dictionaries, loops) over (one hour intro lecture +) two 2-hour practicals. 1/n

25.02.2026 22:33 β€” πŸ‘ 60    πŸ” 17    πŸ’¬ 3    πŸ“Œ 1
Preview
Leveraging a Genetic Proxy to Investigate the Effects of Lifelong Cardiac Sodium Channel Blockade | Circulation BACKGROUND: Atrial fibrillation and other cardiac arrhythmias pose a major public health burden, but prevention remains difficult. We investigated a genetic variant that we found to act like a natural...

Check out our new article in #Circulation on an astonishing genetic variant in the ion channel #SCN5A that enables us to learn about #cardiac-arrhythmia and their treatment with sodium channel blockers.
@finngen.bsky.social
www.ahajournals.org/doi/10.1161/...
Congrats to @jwanner.bsky.social

24.11.2025 13:05 β€” πŸ‘ 5    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1
Preview
Screening, sorting, and the feedback cycles that imperil peer review The process of peer review is vital to contemporary science, but is also under enormous strain. This study uses mathematical models to dissect the threats to the long-term viability of peer review, su...

1. Kevin Gross and I have a new paper out today PLOS Biology.

We used economic models based around screening games and the market for unpaid labor to highlight a meltdown cycle threatening peer review.

24.02.2026 20:54 β€” πŸ‘ 324    πŸ” 132    πŸ’¬ 8    πŸ“Œ 17
Flow diagram. At the center is the key cycle: Authors reduce self-screening --> Reviewer pool becomes depleted --> Accuracy of review declines --> [back to] Authors reduce self-screening. 

Outside arrows lead to this central cycle.

Greater emphasis on elite journals --> authors reduce self-screening
More journals create more opportunities for fresh review --> reviewer pool becomes depleted
Common pool dilemma reduces desk rejection rates --> reviewer pool becomes depleted.

There is an additional cycle:

Accuracy of review declines --> Authors learn less from reviews --> Authors reduce self-screening

Flow diagram. At the center is the key cycle: Authors reduce self-screening --> Reviewer pool becomes depleted --> Accuracy of review declines --> [back to] Authors reduce self-screening. Outside arrows lead to this central cycle. Greater emphasis on elite journals --> authors reduce self-screening More journals create more opportunities for fresh review --> reviewer pool becomes depleted Common pool dilemma reduces desk rejection rates --> reviewer pool becomes depleted. There is an additional cycle: Accuracy of review declines --> Authors learn less from reviews --> Authors reduce self-screening

7. We show that this setup leads to a pernicious positive feedback loop. When submissions increase, more peer reviewers are required. Either current reviewers have to spread their effort thinner, or less qualified reviewers must be recruited. Either way, review accuracy drops.

16.07.2025 03:23 β€” πŸ‘ 62    πŸ” 15    πŸ’¬ 5    πŸ“Œ 4

I saw this when it was a preprint? They have a unique version of the estimand-estimator-estimates workflow, will be useful for may biologists, not just ecologists. We need more case studies for ecologists to emulate and for norms to shift so "regression and storytelling" becomes unpublishable.

25.02.2026 06:14 β€” πŸ‘ 55    πŸ” 13    πŸ’¬ 2    πŸ“Œ 0
Creating actually publication-ready figures for journals using `ggplot2` A practical guide to creating publication-ready figures in R using ggplot2, covering journal dimension requirements, custom themes, updated geom defaults, and SVG exportβ€”with minimal manual adjustment...

#rstats Here's a useful guide to creating publication-ready #ggplot figures to journal specifications, which is often quite fiddly.

jaquent.github.io/2026/02/crea...

24.02.2026 13:47 β€” πŸ‘ 76    πŸ” 23    πŸ’¬ 3    πŸ“Œ 3

Good advice from the 'bind_cols' documentation:

"Where possible prefer using a join to combine multiple data frames. bind_cols() binds the rows in order in which they appear so it is easy to create meaningless results without realising it."

#RStats #DefensiveProgramming

24.02.2026 13:37 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

yes i wrote a stats textbook shut up shut up shut up. statistics is a discipline in which everybody has impostor syndrome and if you don't then honestly you're probably lying to yourself

24.02.2026 04:16 β€” πŸ‘ 28    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

#rstats

The Australian and New Zealand Journal of Statistics will be running a special issue commemorating the 25th anniversary of the official release of R. (The Univ. of Auckland was the birthplace of R.) They invited various people to contribute articles, including me. 🧡 1/

21.02.2026 01:06 β€” πŸ‘ 49    πŸ” 13    πŸ’¬ 1    πŸ“Œ 1

Yes, you still have to have enough domain knowledge and coding skill to be able to read, evaluate, test, and rigorously check the generated code, since the generated code could easily be incorrect or non-robust to edge cases.

22.02.2026 12:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Partitioned polygenic scores show mechanistic heterogeneity in type 2 diabetes and hypertension comorbidity - PubMed Type 2 diabetes and hypertension are common health conditions that often occur together, suggesting shared biological mechanisms. To explore this relationship, we analyse large-scale multiomic data to uncover genetic factors underlying type 2 diabetes and blood pressure comorbidity. We curate 1304 i …

The doi link didn’t work for me so here’s the PubMed link

pubmed.ncbi.nlm.nih.gov/41663376/

22.02.2026 11:40 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Last term I tried an experiment: I walked into my Tech and Design Ethics class, admitted that I had *no idea* what to do about ChatGPT - so I would let them figure it out.

As in: their first project was to decide and write the ChatGPT policy for the class.

Here's what happened:

22.01.2026 23:36 β€” πŸ‘ 2364    πŸ” 869    πŸ’¬ 26    πŸ“Œ 236

Brilliant and beautiful!

22.02.2026 11:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

β€œIn 2025, sponsored research by faculty generated more than $4.8 billion. Compared to that sum, donors contribute a pittance: even the profligate Mr. Bloomberg doesn’t come close. And yet for some reason it’s the donors rather than the faculty who sit on the board and make the big decisions.β€œ

22.02.2026 02:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0