R/biaboxplot.R

Defines functions bias.baoxplot

bias.baoxplot <- function(){
  data(geneLevelData)
  data(yeastGC)
  sub <- intersect(rownames(geneLevelData), names(yeastGC))
  submat <- as.matrix(geneLevelData[sub,])
  data <- newSeqExpressionSet(mat,
                              phenoData=AnnotatedDataFrame(
                                data.frame(conditions=factor(c("mut", "mut", "wt", "wt")),
                                           row.names=colnames(geneLevelData))),
                              featureData=AnnotatedDataFrame(data.frame(gc=yeastGC[sub])))
  biasPlot(data,"gc",ylim=c(0,5),log=TRUE)
}
winnie0521/qckitEDA documentation built on May 26, 2019, 5:45 p.m.