Cameron Nugent
Home
Curriculum Vitae
Publications
Blog Posts
Posts
Making use of R’s tryCatch function
R’s tryCatch function is a great tool that helps facilitate robust error handling. It lets you try to run a block of code and if an …
Nov 17, 2019
6 min read
R
Introducing coil: an R package for DNA barcode data cleaning
As part of my current postdoctoral research I’ve built the R package coil, which is designed to aid users in DNA barcode data cleaning …
Oct 31, 2019
11 min read
R
An introduction to using functions in R
Note: Here you will find the raw RMarkdown file for this post, in case you want to follow along and execute the code yourself! …
Oct 16, 2019
12 min read
R
How to add a progress bar to a function in R
Older readers of this post may remember the boot screen from Windows XP. This featured a load bar that was there to essentially give a …
Sep 12, 2019
3 min read
R
Vectorizing the application of R functions for speed and simplicity
When applying a function to a vector, list or dataframe column, your first instinct may be to iterate across the series of inputs. By …
Sep 4, 2019
3 min read
R
Using the nohup command to run and log backgroud processes
There is a problem I often encounter when working on remote access servers through the terminal: how do I set up a script/program to …
Aug 27, 2019
5 min read
Unix
This thing I built: go-fasta
github.com/CNuge/go-fasta I spend a lot of time working with fasta files, the standard for storing of biological sequence information …
Jul 31, 2019
2 min read
Golang
Returning multiple values from a function in R
During a tutorial I gave for the University of Guelph R users group, we were going through how to generate summary stats & tidy …
Jul 20, 2019
4 min read
R
A template for sending yourself scheduled email reports
The template code and setup instructions for this custom email report can be found here on github! Something I have written a few posts …
Jul 14, 2019
1 min read
Python
Engineering features to improve house price predictions
Jun 8, 2019
0 min read
Python
»
Cite
×