R/analyse.r

Defines functions analyse

analyse <- function(file,layout,func,...)
{
	if(is.list(file))
	{
		DAT <- joincin(lapply(file,read.cinetic))
	} else {
		DAT <- formatDF(read.cinetic(file))
	}
	RES  <- apply(DAT,2,func,...)
	names(RES) <- colnames(DAT)
	results <- fromlayout(readlayout(layout),RES)
	return(results)
}

Try the SCiAn package in your browser

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

SCiAn documentation built on May 2, 2019, 5:24 p.m.