Yuan Blog

「仰望星空 脚踏实地」

git multiprofile settings

multithread roles

Time management Default git config file Git profile file is at ~/.gitconfig , which has a content like this: [credential] helper = cache [user] name = Yuan Shang email = shangyuan5000...

Frequently Used Awk Commands

For fast text stream manipulations

运用之妙,存乎一心 Introduction Awk is a program that you can use to select particular records in a file and perform operations upon them. It is installed on Linux and Mac by default. Awk is an inter...

Rmarkdown chunk code options

Hide code, text output, messages, or plots

This blog is mainly from rmarkdown-cookbook/ and Yihui Xie’s Book Settings in chunk code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 3...

Dynamic Headings in Rmarkdown

Output text as raw Markdown content

I have nothing to say. Fingers crossed I’m writing a R markdown file to process bulky RNAseq analysis and generate reports for general lab experiments. To better presents the results in the f...

Generate automatic reports using R markdown

Parameters from R to yaml to markdown

Time to summarise Intention One colleague asked me about the potential effects of center drugs on AD, based on NACC dataset. The task is easy: get a contingency table of (drug_Normal,drug...

Get REF bfiles

This is a subtitle

Time to summarise

config R libPath in ubuntu

by specify lib

After install R,and Rstudio-desktop in ubuntu, I’m trying to work under ubuntu to analyze previous pending jobs. When, installing the required packages in Rstudio, I got the “installationpath not ...

Config cuda enabled deep learning machines

version matches matters

勿以恶小而为之,勿以善小而不为 I spent the whole weekend trying to install a cuda-enabled deep learning machine. Similar to most of other tasks, if you are in the right way, you could finish them in 30 mins...

Windows ubuntu duo system

efi_boot

corinthians,12:9-10: But he said to me, “My grace is sufficient for you, for my power is made perfect in weakness.” Therefore I will boast all the more gladly about my weaknesses, so that Chris...

Dropbox is stuck at syncing xxx files

solved through fixing hardlinks and permissions

Stay focused I have used Dropbox for more than 5 yrs now. Recently, the Dropbox desktop app is stuck at ‘syncing 2 files’ or ‘indexing 2 files’. Furthermore, this made dropbox occupy too much...