library(EMMIXcontrasts2) library(Biobase) knitr::opts_chunk$set(fig.width=8, fig.height=6) set.seed(123)
Voom @law2014voom @limma2015
Manually or via BIC
can be used to rank genes with out p values if desired
permuations
from the permuations
allows for compliacted set ups
see example in @emmix2014 and third case study in this document
@zhu2010preferred
library(repmis) repmis::source_data("https://github.com/andrewthomasjones/goldenspikeData/blob/master/goldenspike.Rdata?raw=true")
@su2014comprehensive
#library(erccdashboard) #data(SEQC.Example)
#add extra column to goldenspike make clearer which are null genes goldenspike$isNull<-abs(goldenspike$fold)==1 gold2<-as.matrix(goldenspike[,seq_len(6)]) Emmix<-emmixwire(gold2,g='BIC', maxg=3, ncov=3,nvcov=3,n1=3,n2=3, debug=0,itmax=100,epsilon=1e-4) M<-nrow(gold2) scores<-abs(scores.wire(Emmix)) pTrue<-cumsum(goldenspike$isNull[order(scores, decreasing = TRUE)])/(seq_len(M))
library(ggplot2) library(reshape2) combined <- data.frame(n = seq_len(M), pTrue = pTrue) combined2<-melt(combined, id='n') combined3<-subset(combined2, n<=1000) p<-ggplot(data=combined3, aes(x=n, y=value, colour=variable)) + geom_line() p<-p+scale_colour_discrete(guide=FALSE)+scale_x_continuous(name = "Gene Rank")+ scale_y_continuous(name = "FPR")+theme_classic() p<-p+ggtitle(paste("Golden Spike - false positive rate among top ranked genes")) print(p)
@alon1999broad
library(vsn) library(colonCA) data(colonCA, package = 'colonCA') alon_data<-(exprs(vsn2(colonCA)))
@fission2014
library(fission) data("fission")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.