Blog Archives

Annotated Manhattan plots and QQ plots for GWAS using R, Revisited

April 25, 2011
By

Last year I showed you how to create manhattan plots, and later how to highlight regions of interest, using ggplot2 in R. The code was slow, required a lot of memory, and was difficult to maintain and modify. I finally found time to rewrite the code u...

Read more »

Using LaTeX for Math Formulas on the Web

April 20, 2011
By

I love the idea of using R+LaTeX+Sweave for reproducible research. This is even easier now that R has a jazzy new IDE that supports Sweave syntax highlighting and automatic PDF generation. I know I'm going to take some flak for saying this, but let's ...

Read more »

Using LaTeX for Math Formulas on the Web

April 20, 2011
By
Using LaTeX for Math Formulas on the Web

I love the idea of using R+LaTeX+Sweave for reproducible research. This is even easier now that R has a jazzy new IDE that supports Sweave syntax highlighting and automatic PDF generation.I know I'm going to take some flak for saying this, but let's be...

Read more »

Using R + Bioconductor to Get Flanking Sequence Given Genomic Coordinates

April 12, 2011
By

I'm working on a project using next-gen sequencing to fine-map a genetic association in a gene region. Now that I've sequenced the region in a small sample, I'm picking SNPs to genotype in a larger sample. When designing the genotyping assay the lab wi...

Read more »

Using R + Bioconductor to Get Flanking Sequence Given Genomic Coordinates

April 12, 2011
By
Using R + Bioconductor to Get Flanking Sequence Given Genomic Coordinates

I'm working on a project using next-gen sequencing to fine-map a genetic association in a gene region. Now that I've sequenced the region in a small sample, I'm picking SNPs to genotype in a larger sample. When designing the genotyping assay the lab wi...

Read more »

Monday Links: 23andMe, RStudio, PacBio+Galaxy, Data Science One-Liners, Post-Linkage RFA, SSH

April 11, 2011
By
Monday Links: 23andMe, RStudio, PacBio+Galaxy, Data Science One-Liners, Post-Linkage RFA, SSH

Lately I haven't written as many full length posts as usual, but here's a quick roundup of a few links I've shared on Twitter (@genetics_blog) over the last week:First, 23andMe is having a big DNA Day Sale ($108) for the kit + 1 year of their personal ...

Read more »

Monday Links: 23andMe, RStudio, PacBio+Galaxy, Data Science One-Liners, Post-Linkage RFA, SSH

April 11, 2011
By
Monday Links: 23andMe, RStudio, PacBio+Galaxy, Data Science One-Liners, Post-Linkage RFA, SSH

Lately I haven't written as many full length posts as usual, but here's a quick roundup of a few links I've shared on Twitter (@genetics_blog) over the last week:First, 23andMe is having a big DNA Day Sale ($108) for the kit + 1 year of their personal ...

Read more »

Prune GWAS data in R

March 29, 2011
By
Prune GWAS data in R

Hansong Wang, our biostats professor here at the Hawaii Cancer Center, generously gave me some R code that goes through a SNP annotation file (i.e. a mapfile) and selects SNPs that are at least a certain specified distance apart. You might want to do t...

Read more »

Prune GWAS data in R

March 29, 2011
By
Prune GWAS data in R

Hansong Wang, our biostats professor here at the Hawaii Cancer Center, generously gave me some R code that goes through a SNP annotation file (i.e. a mapfile) and selects SNPs that are at least a certain specified distance apart. You might want to do t...

Read more »

RStudio Keyboard Shortcut Reference PDF

March 21, 2011
By
RStudio Keyboard Shortcut Reference PDF

I recently started using RStudio, the amazing new IDE for R. You can view all of RStudio's keyboard shortcuts by going to the help menu, but I made this printable reference for myself and thought I'd share it. I only included the Windows shortcuts, and...

Read more »