Postagens de Rogue Scholar

language
Publicados in quantixed

The Retropie project is a wonderful way to play retro games on a Raspberry Pi (see previous post). A number of handheld units are available to make a convincing retro gaming experience. One of these is the Retroflag GPi case, modelled on Nintendo’s Game Boy. It’s possible to order one of these pre-built and even loaded with games, but where is the fun in that? Here is a quick guide to building one.

Publicados in quantixed

I have a long-running project Raspberry Pi project to make time-lapse movies of a countryside view (see previous posts). It’s been running for over two years and the results are great. The camera takes images every ten minutes and by assembling movies with different time intervals, you can see seasons change, trees growing or the sun setting and snow melting. The sky is mesmerising to watch.

Publicados in quantixed

The aim of this post is to look at revisions of bioRxiv preprints. I’m interested how long preprint versions exist on bioRxiv. In other words: how long do revisions to preprints take? The data from bioRxiv is a complex dataset with many caveats as I’ll explain further down, but some interesting details do emerge. Consider this a sketch of the dataset rather than an in-depth analysis. I’ll walk you through the code.

Publicados in quantixed

This post is an update of a previous analysis on quantixed. We have covered publication lag times – the time it takes for a paper go from submitted (received) to accepted and published – a lot on here. It is possible to look at lag times, in R using data from PubMed. Previously my code performed these calculations using an XML file downloaded from the PubMed website.

Publicados in quantixed

Clathrin is a three-legged protein complex or triskelion that can assemble into lattice-like structures. Inside the cell, this assembly helps to create vesicles: tiny packages of membranes containing proteins and goodies for the cell to use. Incredibly our first view of assembled clathrin was made in the 1960s, with resolution improving steadily since then. The image below shows these improvements.

Publicados in quantixed

The IQ Block game is a puzzle where the player must fit eight shapes into a square space. The challenge is to find as many ways as possible to do it. The box says there are more than 40 solutions! So how many are there? I wrote a solver to crack the IQ Block game. The code is available here and a detailed description is at the end of the post. The solver found 264 solutions from 33 placements.

Publicados in quantixed

The database clinicaltrials.gov is a web resource of clinical trials around the world. It has a REST API that gives access to clinical trial data. There are some resources available to interact with this resource using R, such as rclinicaltrials and ClinicalTrialsAPI. We were interested at looking clinical trials for rare diseases and particularly whether this year, COVID-19 had affected these trials.

Publicados in quantixed

A short follow-up post. Previously, I looked at how to reproduce a Strava feature that compares performance over similar courses. With a few modifications to the code, I was able to analyse a much larger dataset of cycling performance on similar courses. Two courses with the highest number of tracks are shown below. I cycle these courses all the time. Well, I did until the pandemic struck.

Publicados in quantixed

One of several features that Strava put behind a paywall was the ability to compare performance on similar courses. I miss this comparison tool and wondered how hard it would be to code my own. This post is a walkthrough of how I approached the problem. The code is available here. It uses the trackeR library in R to convert the GPX tracks to a huge dataframe. This is then processed by IgorPro.

Publicados in quantixed

I searched several times in vain to solve this problem. After finding a solution, I thought i’d put it up here. The problem Formatting of units using siunitx in LaTeX does not match the typeface of the body text. We like to use the helvet package to get a close approximation to Helvetica in LaTeX.