R/summary.mdr.R

Defines functions summary.mdr

summary.mdr <- function(object, ...){
  
  mdr <- object$mdr

  cat("MDR Summary\n")
  cat("---------------\n")
  cat("Order of SNP models      :",object$fold,"\n")
  cat("# of tested variables    :",dim(object$X)[2],"\n")
  cat("# of tested combinations :",prettyNum(dim(object$X)[2]^object$fold,big.mark = ","),"\n")
  cat("# of used observations   :",dim(object$X)[1],"\n")
  
  invisible(object)
} 
fischuu/GenomicTools documentation built on April 30, 2023, 7:53 p.m.