R/model.R

Defines functions model

Documented in model

# Build a model object for classify()
# Author : Sylvain Mareschal <maressyl@gmail.com>
model <- function(
			groupMeans,
			groupSDs,
			groupNames,
			groupColors = c("blue", "red"),
			threshold	= 0.9,
			geneNames,
			geneTs,
			geneMs
		)
	{
	object <- list(
		groupMeans = groupMeans,
		groupSDs = groupSDs,
		groupNames = groupNames,
		groupColors = groupColors,
		threshold	= threshold,
		geneNames = geneNames,
		geneTs = geneTs,
		geneMs = geneMs
	)
	class(object) <- "fsaModel"
	return(object)	
}

Try the MLPA package in your browser

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

MLPA documentation built on May 2, 2020, 1:06 a.m.