Skip to content
Permalink
7a26db24b2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (30 sloc) 779 Bytes
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/params.R
\name{newParams}
\alias{newParams}
\title{New Params}
\usage{
newParams(...)
}
\arguments{
\item{...}{additional parameters passed to \code{\link{setParams}}.}
}
\value{
New Params object.
}
\description{
Create a new Params object.
}
\examples{
\dontrun{
params <- newParams()
params <- newParams("nGenes"=list("1"=10,"2"=list("gauss"=10,"gamma"=10)),
"proportions"=c(30,70))
params <- newParams(
nGenes=list("1"=c(70),"2"=list(gauss = 15, gamma = 15),
"3"=list(gauss = 15, gamma = 15)),
means=list("1"= c(2, 4),"2"= c(2, 4),"3"= c(2, 4)),
foldChanges = list("1"=NA,"2"= list(gauss = c(2, 4), gamma = c(2, 4)),
"3"= list(gauss = list(c(2, 4), c(2, 4)), gamma = list(c(2, 4), c(2, 4)))))
}
}