University of Wisconsin–Madison

Year: 2020

Strings as factors in R

Factors in R I recently mentioned the important default change that occurred with the release of the latest version of R (version 4.0.3) in a post titled  Default preference reversal in R and how that can impact current code. Recently I had 2 more encounters with this notion and I thought I’d write here how …

Default preference reversal in R

Default preferences I enjoy using R and RStudio, but I am always weary of upgrading R because that usually leads to some issue(s). The most recent was a bit long for me to diagnose, even though in retrospect it is a simple change in default preference, namely changing the default setting default.stringsAsFactors() from  TRUE in …

PowerShell – an opinionated primer

PowerShell One day I discovered that there was a Windows App called “PowerShell” while searching on my Windows 10 installation. I did not pay much attention to it even if I stumbled upon it a few times since. It seems that the early versions were present already in Windows 7, so in that sense it …

csvkit command-line spreadsheet can convert and compute multiple Excel files

(Last edit: April 11, 2023) Summary How to deal with many Excel files If  I had had the information I was looking for within a single Excel spreadsheet I would not have found csvkit because I would simply have copied the column containing the data I wanted, in that case a list of email. But …

Data Analysis Workshops Fall 2020

SUMMARY: Check calendar for Free “R” and “Python” workshops (Steenbock Library.) “Introduction to R with RStudio,” “Data Wrangling in R” (SSCC – Social Science Computing Cooperative.) “Automating Tasks with the Unix Shell,” “Data Management with SQL,” “Introduction to Docker” (Software Carpentry through UW-Madison Data Science (fees apply).)

Tabular data analysis with R and Tidyverse

Does data analysis feel like the impossible job of “catching the moon?”
Fortunately R and RStudio are great tools to analyze data and illustrate conclusions, while at the same time keeping records and create “live” documents that can be updated with “just one click.”
The material is written in a way that is conducive to “learn by doing” following demonstrations and examples. All code and all necessary materials and files are available and therefore it is possible to learn and acquire proficiency on one’s own with this course content.

bioinformatics tutorials

  June 26, 2020. I have added a new entry under the “Tutorials” menu for “bioinformatics” to provide a place for tutorials that are more than just about one subject. “bioinformatics is the science of collecting and analyzing complex biochemical and biological information using computers.” It may provide the tools to “look under the hood” …

Covid-19 protein structures movie

I previously wrote a small booklet using PyMOL to illustrate PyMOL scripting methods and highlight some SARS-CoV-2 (COVID-19) protein structures. (See Blog titled: Covid-19 Coloring Book and PyMOL scripts book) These protein structures are explored closely in the following movie. The video below depicts COVID-19 protein structures with a scientific, biochemistry oriented voice over text. …

More Covid-19 Coloring Books

My little Covid-19 coloring book last month was very well received and was even reported in the CALS eNewsletter on April 17. Other people had similarly been inspired so here is a list of “More Covid-19 Coloring Books” mostly meant for younger readers (but also adults with a kid’s heart.) Some of them have a bigger …

A great Unix tutorial suitable for beginners

…provides a wonderfully well done, easy to understand set of small tutorials, with exercises, each with an accompanying video that should make it easier for beginners that want to learn Unix command line / bash…. To make is faster to navigate the lessons and videos I have combined both into a simple table…