R/nrow_methods_method.R

#' @name nrow
#' 
#' @title Method override for nrow function
#' 
#' @exportMethod nrow

setMethod(f = 'nrow', 
          signature = 'methods', 
          function(x) {
            nrow(x@counts)
          })

setMethod(f = 'nrow', 
          signature = 'IBRAP', 
          function(x) {
            nrow(x@methods[[1]]@counts)
          })
connorhknight/IBRAP_no_decontX documentation built on Feb. 13, 2022, 2:32 p.m.