R/show-Methods.R

setMethod("show", "CpGannotated",
          function (object) cat(paste0("CpGannotated object describing ",
                                       length(object@ranges), " CpG sites, with independent\nCpG threshold indexed at fdr=",
                                       round(max(object@ranges$ind.fdr[object@ranges$is.sig]), 2), " and ", 
                                       sum(object@ranges$is.sig), " significant CpG sites.\n"))
)

setMethod("show", "DMResults",
          function (object) cat(paste0("DMResults object with ", length(object@coord), " DMRs.\nUse extractRanges() to produce a GRanges object of these.\n"))
)
timpeters82/DMRcate-devel documentation built on April 26, 2024, 9:23 a.m.