wfm.fit(object, filter.overlap=NULL, design=c("time","circadian","group","factorial","custom"), n.levels, factor.levels=NULL, chromosome, strand, minPos, maxPos, design.matrix=NULL, var.eps=c("margLik","mad"), prior=c("normal","improper"), eqsmooth=FALSE, max.it=20, wave.filt="haar", skiplevels=NULL, trace=FALSE, save.obs=c("plot","regions","all"))WaveTilingFeatureSetmapFilterProbetime for a time-course design based on polynomial contrasts; circadian for circadian rhythm analysis; group for unordered one-factor designs; factorial for two-factor designs; custom for other designs. When using
design="custom" a specific design.matrix needs to be given."forward" or "reverse"."margLik" for marginal maximum likelihood based estimation or "mad" for estimation based on the MAD (more info see references)."normal" for a normally distributed prior, or "improper" for an improper prior (more info see references)."haar"."plot": all info needed to make the plots or "all": store all possible info.[2] De Beuf K, Andriankaja, M, Thas O, Inze D, Crainiceanu CM and Clement L (2012) Model-based analysis of tiling array expression studies with flexible designs. Technical document.
library(waveTilingData)
data(leafdevBQ)
data(leafdevMapAndFilterTAIR9)
leafdevFit <- wfm.fit(leafdevBQ,filter.overlap=leafdevMapAndFilterTAIR9,design="time",n.levels=10,chromosome=1,strand="forward",minPos=22000000,maxPos=24000000,var.eps="marg",prior="improper",skiplevels=1,save.obs="plot",trace=TRUE)
Run the code above in your browser using DataLab