Blog Archives

learn R wisdom with fortunes

January 5, 2015
By
learn R wisdom with fortunes

I like running fortune every time when the terminal was started. A screenshot is shown below: At the end of the post trick things in R, I introduced the fortunes package of R. Read More: 1656 Words Totally

Read more »

viewing and annotating phylogenetic tree with ggtree

December 21, 2014
By

When I need to annotate nucleotide substitutions in the phylogenetic tree, I found that all the software are designed to display the tree but not annotating it. Some of them may support annotating the tree with specific data such as bootstrap values, b...

Read more »

auto-complete in ESS

December 7, 2014
By

To support auto complete in Emacs, we need to install the auto-complete extension. To activate auto complete, we need to load it at Emacs startup. Read More: 440 Words Totally

Read more »

proper use of GOSemSim

November 22, 2014
By
proper use of GOSemSim

One day, I am looking for R packages that can analyze PPI and after searching, I found the ppiPre package in CRAN. The function of this package is not impressive, and I already knew some related works, including http://intscore.molgen.mpg.de/. The authors of this webserver contacted me for the usages of GOSemSim when they developing it. Read more »

Yearly Topic Trend in PubMed

November 3, 2014
By
Yearly Topic Trend in PubMed

I found an R script in R-blogger that can be used to track PubMed trend. The script needs Perl package TGen-EUtils to perform query and it is not available now. It's not difficult to query Pubmed record in R. We can use RCurl package to fetch and use XML package to parse the downloaded record as shown in stackoverflow.

Read more »

SIR Model of Epidemics

October 12, 2014
By
SIR Model of Epidemics

The SIR model divides the population to three compartments: Susceptible, Infected and Recovered. If the disease dynamic fits the SIR model, then the flow of individuals is one direction from the susceptible group to infected group and then to the recovered group. All individuals are assumed to be identical in terms of their susceptibility to infection, infectiousness if infected...

Read more »

multiple annotation in ChIPseeker

October 1, 2014
By
multiple annotation in ChIPseeker

Nearest gene annotation Almost all annotation software calculate the distance of a peak to the nearest TSS and assign the peak to that gene. This can be misleading, as binding sites might be located between two start sites of different genes or hit different genes which have the same TSS location in the genome. Read More:...

Read more »

why clusterProfiler fails

August 6, 2014
By

Recently, there are some comments said that sometimes clusterProfiler failed in KEGG enrichment analysis. kaji331 compared cluserProfiler with GeneAnswers and found that clusterProfiler gives larger p values. The result forces me to test it. Read More: 251 Words Totally

Read more »

enrichment map

August 3, 2014
By
enrichment map

In PLOB's QQ group, someone asked how to change the color of enrichment map in Cytoscape. I am very curious how enrichment map can helps to interpret enrichment results. It took me 2 hours to implement it using R and I am surprised that the enrichment map is better than anticipated. Read More: 423 Words Totally

Read more »

再不相信预编译的R

July 23, 2014
By

去年ubuntu下apt-get了R-3.0.2, 用了没多久就发现了system命令有问题,通常情况下调用系统命令是正常的,但是我调用bowtie的时候,就会报错: Warning: Could not open read file "/tmp/8156.inpipe1" for reading; skipping... Read More: 2553 Words Totally

Read more »