\name{MosaicsPeak-class} \Rdversion{1.1} \docType{class} \alias{MosaicsPeak-class} \alias{bdBin,MosaicsPeak-method} \alias{empFDR,MosaicsPeak-method} %\alias{export,MosaicsPeak-method} \alias{print,MosaicsPeak-method} \alias{show,MosaicsPeak-method} \title{Class "MosaicsPeak" } \description{ This class represents peak calling results. } \section{Objects from the Class}{ Objects can be created by calls of the form \code{new("MosaicsPeak", ...)}. } \section{Slots}{ \describe{ \item{\code{peakList}:}{Object of class \code{"MosaicsPeakList"}, representing peak list. } \item{\code{peakParam}:}{Object of class \code{"MosaicsPeakParam"}, representing parameters for peak calling. } \item{\code{bdBin}:}{Object of class \code{"numeric"}, a vector of bounded bins. } \item{\code{empFDR}:}{Object of class \code{"numeric"}, empirical FDR. } } } \section{Methods}{ \describe{ \item{export}{\code{signature(object = "MosaicsPeak")}: export peak list into text files. } \item{print}{\code{signature(x = "MosaicsPeak")}: return peak list in data frame format. } \item{show}{\code{signature(object = "MosaicsPeak")}: provide brief summary of the object. } } } \references{ Kuan, PF, D Chung, JA Thomson, R Stewart, and S Keles (2010), "A Statistical Framework for the Analysis of ChIP-Seq Data", submitted (\url{http://works.bepress.com/sunduz_keles/19/}). } \author{ Dongjun Chung, Pei Fen Kuan, Sunduz Keles } \seealso{ \code{\link{mosaicsPeak}}, \code{\link{export}}. } \examples{ showClass("MosaicsPeak") \dontrun{ library(mosaicsExample) data(exampleFit) examplePeak <- mosaicsPeak( exampleFit, signalModel = "2S", FDR = 0.05 ) examplePeak print(examplePeak)[1:10, ] export( examplePeak, type = "txt", fileLoc = "./", fileName = "TSpeakList.txt", chrID = "chr21" ) export( examplePeak, type = "bed", fileLoc = "./", fileName = "TSpeakList.bed", chrID = "chr21" ) export( examplePeak, type = "gff", fileLoc = "./", fileName = "TSpeakList.gff", chrID = "chr21" ) } } \keyword{classes}