R/extract_ICL.R

Defines functions extract_ICL

Documented in extract_ICL

#' @title extract_ICL
#' @description Extracts ICL value from blockclustering solution inside run_ICLite
#' @param solution Gene blockclustering solution from inside run_ICLite
#' @return ICL value
#' @export

extract_ICL<-function(solution){

  if(is.na(solution)==F){
    return(solution@ICLvalue)
  }else{return(NA)}
}
camiolomj/ICLite documentation built on July 28, 2021, 6:33 a.m.