R/calculate.genome.R

Defines functions calculate.genome

calculate.genome <- function(X, Y, windowSize, method = "pSimCCA", params = list(), match.probes, priors, regularized){

  chromosomeModelList <- list()
  for (i in 1:24) {
    chromosomeModelList[i] <- calculate.chr(X, Y, windowSize, i, method, params, match.probes, priors, regularized)
  }

  return(new("GenomeModels", chromosomeModels = chromosomeModelList, method = method, params = params))

}

Try the pint package in your browser

Any scripts or data that you put into this service are public.

pint documentation built on Oct. 31, 2019, 2:41 a.m.