R/show-methods.R

#############################################################
### show :: show a MELON 
#############################################################


setMethod("show","MELON",function(object) {
	cat("\n")
	cat("              MELON Normalized Data \n")
	cat("\n")
	cat("Reference Sample : ")
	cat(names(getNormFactors(object))[getRefId(object)])
	cat("\n")
	cat("\n")
	cat("Normalized Data (use getNormData() to extract all data)\n")
	print(head(getNormData(object)))
	cat("\n")
	cat("Normalization Factors (use getNormFactors() to extract Normalization Factors)\n")
	print(getNormFactors(object))
	cat("\n")
	cat("Amount of optimal considered stable loci in the MELON-algorithm (use getIdStabLoci() for indices and getDataIdStabLoci() for data) : ")
	cat(length(getIdStabLoci(object)))
	cat("\n")
})

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.