R

cancer gene census copy number

knitr will force changing current working directory: \ \ or use the ezkintr package

Merge Enhancer promoter interaction bedpe files and recursive function in R

Merge Enhancer promoter interaction bedpe files and recursive function in R

Weather and crimes in Chicago

I was attending 2017 American Society of Clinical Oncology (ASCO) annual meeting in Chicago. It was my first time to do a uber from the airport to our…

when NAs are not NAs

Using TCGAbiolinks, I downloaded RNAseq data for LUAD and LUSC

How to make a heatmap using character matrix

People are willing to read colors. I will show you how to repesent characters in heatmap. ComplexHeatmap can directly translate a character matrix into…

reorder boxplot according to median

It is very common that you want to reorder the boxplot according to the medians to see a better trend. I will show you how to do it using ggplot2 and the…

compare boxplot, violin plot and sina plot

Sometime ago, I came across sina plot.

define intronic, exonic and intergenic regions using GRanges

You might want to use the bedtools for solutions. see Dave Tang’s post.

why not stringsAsFactors: my personal experience

If you are using R and most likely you will encounter stringsAsFactors when read in files. functions such as read.table set defaultstringsAsFactors to TRUE…

Cutting out 500 columns from a 26G file using command line

I have a 26 G tsv file with several thousand columns. I want to extract 500 columns from it based on the column names in another file.