R/initialize-methods.R

#MapFilterProbe
setMethod("initialize","MapFilterProbe",function(.Object,filteredIndices,chromosome,position,strand)
{
	.Object@filteredIndices <- filteredIndices
	.Object@chromosome <- chromosome
	.Object@position <- position
	.Object@strand <- strand
	return(.Object)
})

#WaveTilingFeatureSet
setMethod("initialize","WaveTilingFeatureSet",function (.Object)
{
	callNextMethod(.Object);
}
)


#GenomeInfo
setMethod("initialize","GenomeInfo",function(.Object,chromosome,strand,minPos,maxPos)
{
	.Object@chromosome <- chromosome
	.Object@strand <- strand
	.Object@minPos <- minPos
	.Object@maxPos <- maxPos
	return(.Object)	
})

#WfmFit
setMethod("initialize","WfmFit",function(.Object,betaWav,varbetaWav,smoothPar,varEps,dataOrigSpace,dataWaveletSpace,design.matrix,phenoData,genome.info,n.levels,probePosition,wave.filt,Kj,prior,F,varF,P,Z,noGroups,replics)
{
	.Object@betaWav <- betaWav
	.Object@varbetaWav <- varbetaWav
	.Object@smoothPar <- smoothPar
	.Object@varEps <- varEps
	.Object@dataOrigSpace <- dataOrigSpace
	.Object@dataWaveletSpace <- dataWaveletSpace
	.Object@design.matrix <- design.matrix
	.Object@phenoData <- phenoData
#	.Object@design <- design
	.Object@genome.info <- genome.info
	.Object@n.levels <- n.levels
	.Object@probePosition <- probePosition
	.Object@wave.filt <- wave.filt
	.Object@Kj <- Kj
	.Object@prior <- prior
#	.Object@rescale <- rescale
	.Object@F <- F
	.Object@varF <- varF
	.Object@P <- P
	.Object@Z <- Z
	.Object@noGroups <- noGroups
	.Object@replics <- replics
	return(.Object)
})


# WfmInf
setMethod("initialize","WfmInf",function(.Object, alpha, delta, two.sided, sigProbes, regions, GlocRegions, FDR, CI, eff, varEff, genome.info)
{
	.Object@alpha <- alpha
	.Object@delta <- delta
	.Object@two.sided <- two.sided
	.Object@sigProbes <- sigProbes
	.Object@regions <- regions
	.Object@GlocRegions <- GlocRegions
	.Object@FDR <- FDR
	.Object@CI <- CI
 	.Object@eff <- eff
 	.Object@varEff <- varEff
 	.Object@genome.info <- genome.info
	return(.Object)
})


## Subclasses
setMethod("initialize","WfmFitTime",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmFitCircadian",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmFitFactor",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmFitCustom",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmInfCustom",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmInfCompare",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmInfEffects",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmInfMeans",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

setMethod("initialize","WfmInfOverallMean",function (.Object, ...)
{
	callNextMethod(.Object, ...);
}
)

Try the waveTiling package in your browser

Any scripts or data that you put into this service are public.

waveTiling documentation built on May 2, 2019, 4:46 p.m.