mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 18:57:25 +01:00
Add more optimization targets
This commit is contained in:
parent
064f75ddae
commit
c0a1d965d7
2 changed files with 19 additions and 6 deletions
|
|
@ -4,7 +4,7 @@
|
|||
\alias{optimize_weights}
|
||||
\title{Find the best weights to rank the results.}
|
||||
\usage{
|
||||
optimize_weights(results, methods, reference_gene_ids)
|
||||
optimize_weights(results, methods, reference_gene_ids, target = "mean")
|
||||
}
|
||||
\arguments{
|
||||
\item{results}{Results from \code{\link[=analyze]{analyze()}} or \code{\link[=ranking]{ranking()}}.}
|
||||
|
|
@ -12,6 +12,9 @@ optimize_weights(results, methods, reference_gene_ids)
|
|||
\item{methods}{Methods to include in the score.}
|
||||
|
||||
\item{reference_gene_ids}{IDs of the reference genes.}
|
||||
|
||||
\item{target}{The optimization target. It may be one of "mean", "min" or
|
||||
"max" and results in the respective rank being optimized.}
|
||||
}
|
||||
\value{
|
||||
Named list pairing method names with their optimal weights.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue