I saw this interesting post Reversing the technical interview by Kyle Kingsbury. For fun, I wrote the equivalent code in R, which looks like the following.
[Read More]How to Fly
Flying is the action of being sustained above the ground without falling.
There is an art to flying, or rather a knack. The knack lies in learning how to throw yourself at the ground and miss.
The first part is easy. All it requires is simply the ability to throw yourself forward with all your weight, and the willingness not to mind that it’s going to hurt.
So far I can do the first part very well.
Concepts About False Discovery Rate
What are the differences between FDR, adjusted p value and q value? I saw this interesting answer by Gordon Smyth explaining the origins and corresponding implementations in various R packages.
[Read More]Visualizing Passing Events in Soccer Game
This brief post is about a course project on information visualization that I did last semester. Checkout https://h3k4me3.github.io/SoccerAV/ .
[Read More]Keep Source When Installing R Packages
If I can see the source code, why can't I see the comments?
When sourcing R functions from a file, the comments and indentation within the function body are kept and can be inspected in the console. Meanwhile, functions from installed packages, by default, are parsed to the standard format and all the comments are striped.
[Read More]Callable S3/S4 Object in R
TnT: GSoC 2017 Project Summary
Interactive genome browser in R
The aim of this project is to provide an interactive and convenient approach to visualize track-based genomic data in R, that is, to provide a simple genome browser within R environment to view objects in bioconductor like GRanges, GRangesList, TxDb, EnsDb.
[Read More]