geposan/man/optimize_weights.Rd

26 lines
851 B
Text
Raw Normal View History

2021-10-19 13:39:55 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ranking.R
\name{optimize_weights}
\alias{optimize_weights}
\title{Find the best weights to rank the results.}
\usage{
2021-10-21 11:42:44 +02:00
optimize_weights(results, methods, reference_gene_ids, target = "mean")
2021-10-19 13:39:55 +02:00
}
\arguments{
\item{results}{Results from \code{\link[=analyze]{analyze()}} or \code{\link[=ranking]{ranking()}}.}
\item{methods}{Methods to include in the score.}
\item{reference_gene_ids}{IDs of the reference genes.}
2021-10-21 11:42:44 +02:00
\item{target}{The optimization target. It may be one of "mean", "min" or
"max" and results in the respective rank being optimized.}
2021-10-19 13:39:55 +02:00
}
\value{
Named list pairing method names with their optimal weights.
}
\description{
This function finds the optimal parameters to \code{\link[=ranking]{ranking()}} that result in the
reference genes ranking particulary high.
}