R/AllClasses.R

######################
### CLASS : MELON ####
######################

setClass("MELON", 
	representation=representation(normData="matrix",normFactors="numeric",idStabLoci="numeric",dataStabLoci="matrix",stabFeatures="matrix",refId="numeric"),
	validity=function(object) {
		if (ncol(object@normData)!=length(object@normFactor)) {
			stop("Dimension of normalized data and factors do not match!")
		}
		return (TRUE)
	}
)

Try the MELON package in your browser

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

MELON documentation built on May 2, 2019, 6:21 p.m.