R/show-methods.R

# Copyright (C) 2011 Klambauer Guenter 
# <klambauer@bioinf.jku.at>


#' @title Display CNVs and CNV regions of a CNV detection result.
#' 
#' @description Displays the result object of a copy number detection method.
#'  
#' @param object An instance of a "CNVDetectionResult".
#' @examples 
#' data(cn.mops)
#' r <- cn.mops(XRanges[1:200])
#' show(r)
#' @return Displays the result object of a CNV detection method.
#' @author Guenter Klambauer \email{klambauer@@bioinf.jku.at}
#' @export
#' @noRd
#' @importFrom methods show

setMethod("show", "CNVDetectionResult",function(object){
			cat("\nCNV regions: \n")
			show(object@cnvr)
			cat("\nIndividual CNVs: \n")
			show(object@cnvs)
			
		})

Try the cn.mops package in your browser

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

cn.mops documentation built on Nov. 8, 2020, 5:59 p.m.