R/fileCC.R

Defines functions fileCC

#' @export fileCC
fileCC <- function(file, calculateCC = 50, modelUmbral= 0.85, raw = FALSE){
  set.seed(1)
  data <- read.table(file,header = TRUE)
  data <- data[,paste0("X",sort(as.numeric(gsub("X","",colnames(data)))))]
  data <- cData(data)
  data <- sExperiments(data)
  mExperiments <- suppressMessages(generateModels(data, modelUmbral= modelUmbral))
  CC <- c(calculateCC(models = mExperiments, CC = calculateCC, raw = raw))
  return(CC)
}
dosorio/ccCINTROP documentation built on May 5, 2019, 11:09 p.m.