Skip to content

Instantly share code, notes, and snippets.

View bakerwm's full-sized avatar
🎯
Focusing

Ming Wang bakerwm

🎯
Focusing
  • IBP
  • Beijing, China
View GitHub Profile
@bakerwm
bakerwm / deseq2-analysis-template.R
Created October 1, 2018 13:02 — forked from stephenturner/deseq2-analysis-template.R
Template for analysis with DESeq2
## RNA-seq analysis with DESeq2
## Stephen Turner, @genetics_blog
# RNA-seq data from GSE52202
# http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=gse52202. All patients with
# ALS, 4 with C9 expansion ("exp"), 4 controls without expansion ("ctl")
# Import & pre-process ----------------------------------------------------
# Import data from featureCounts
# ATOMIC DATA TYPES IN R
# Character
first.name <- "Kirk"
# Integer
age <- 25
# Numeric
hourly_wage <- 27.25