Skip to content

Commit

Permalink
fix wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelove committed Mar 29, 2016
1 parent f751fdc commit 0d9da84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion batch/adjusting_with_linear_models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ hist(res$p.value[which(!chr%in%c("chrX","chrY") )],main="",ylim=c(0,1300))
plot(res$dm,-log10(res$p.value))
points(res$dm[which(chr=="chrX")],-log10(res$p.value[which(chr=="chrX")]),col=1,pch=16)
points(res$dm[which(chr=="chrY")],-log10(res$p.value[which(chr=="chrY")]),col=2,pch=16,xlab="Effect size",ylab="-log10(p-value)")
points(res$dm[which(chr=="chrY")],-log10(res$p.value[which(chr=="chrY")]),col=2,pch=16,
xlab="Effect size",ylab="-log10(p-value)")
legend("bottomright",c("chrX","chrY"),col=1:2,pch=16)
qvals <- qvalue(res$p.value)$qvalue
index <- which(qvals<0.1)
Expand Down

0 comments on commit 0d9da84

Please sign in to comment.