R/calculate.genome.sparse.R

Defines functions calculate.genome.sparse

calculate.genome.sparse <- function(X, Y, windowSize, method = "pSimCCA", params = list()){
	chromosomeModelList = list()
	for (i in 1:24) {
		chromosomeModelList[i] = calculate.chr.sparse(X, Y, windowSize, i, method, params)
	}
	#chromosomeModelList[23] = calculate.chr.sparse(X, Y, windowSize, 'X', method, params)
	#chromosomeModelList[24] = calculate.chr.sparse(X, Y, windowSize, 'Y', method, params)
	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.