2021-12-16 13:01:44 +01:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
2022-01-26 09:58:33 +01:00
|
|
|
% Please edit documentation in R/method_adjacency.R
|
2021-12-16 13:01:44 +01:00
|
|
|
\name{adjacency}
|
|
|
|
|
\alias{adjacency}
|
|
|
|
|
\title{Score genes based on their proximity to the reference genes.}
|
|
|
|
|
\usage{
|
2022-06-22 11:20:39 +02:00
|
|
|
adjacency(
|
|
|
|
|
id = "adjacency",
|
|
|
|
|
name = "Adjacency",
|
|
|
|
|
description = "Adjacency to reference genes",
|
|
|
|
|
distance_estimate = densest,
|
|
|
|
|
summarize = stats::median
|
|
|
|
|
)
|
2022-01-09 20:21:27 +01:00
|
|
|
}
|
|
|
|
|
\arguments{
|
2022-06-22 11:20:39 +02:00
|
|
|
\item{id}{Unique ID for the method and its results.}
|
|
|
|
|
|
|
|
|
|
\item{name}{Human readable name for the method.}
|
|
|
|
|
|
|
|
|
|
\item{description}{Method description.}
|
|
|
|
|
|
2022-01-17 20:11:07 +01:00
|
|
|
\item{distance_estimate}{A function that will be used to summarize the
|
|
|
|
|
distance values for each gene. See \code{\link[=densest]{densest()}} for the default
|
|
|
|
|
implementation.}
|
2022-01-09 20:26:42 +01:00
|
|
|
|
2022-01-17 20:11:07 +01:00
|
|
|
\item{summarize}{A function that will be used to combine the different
|
2022-02-24 15:36:07 +01:00
|
|
|
distances to the reference genes. By default \code{\link[stats:median]{stats::median()}} is used.}
|
2021-12-16 13:01:44 +01:00
|
|
|
}
|
|
|
|
|
\value{
|
|
|
|
|
An object of class \code{geposan_method}.
|
|
|
|
|
}
|
|
|
|
|
\description{
|
2022-01-17 20:11:07 +01:00
|
|
|
In this case, the distance data that is available for one gene is first
|
|
|
|
|
combined. The resulting value is compared to the reference genes and
|
|
|
|
|
determines the gene's score in relation to other genes.
|
|
|
|
|
}
|