| 
									
										
										
										
											2022-02-24 17:39:44 +01:00
										 |  |  | % Generated by roxygen2: do not edit by hand | 
					
						
							| 
									
										
										
										
											2022-08-11 12:39:21 +02:00
										 |  |  | % Please edit documentation in R/method_distance.R | 
					
						
							|  |  |  | \name{distance} | 
					
						
							|  |  |  | \alias{distance} | 
					
						
							| 
									
										
										
										
											2022-02-24 17:44:04 +01:00
										 |  |  | \title{Score the distance of genes to the telomeres across species.} | 
					
						
							| 
									
										
										
										
											2022-02-24 17:39:44 +01:00
										 |  |  | \usage{ | 
					
						
							| 
									
										
										
										
											2022-08-11 12:39:21 +02:00
										 |  |  | distance( | 
					
						
							|  |  |  |   id = "distance", | 
					
						
							|  |  |  |   name = "Distance", | 
					
						
							|  |  |  |   description = "Distance to telomeres", | 
					
						
							| 
									
										
										
										
											2022-08-14 17:50:59 +02:00
										 |  |  |   summarize = densest | 
					
						
							| 
									
										
										
										
											2022-06-22 11:20:39 +02:00
										 |  |  | ) | 
					
						
							| 
									
										
										
										
											2022-02-24 17:44:04 +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-02-24 17:44:04 +01:00
										 |  |  | \item{summarize}{A function for combining the different proximities into one | 
					
						
							|  |  |  | metric. By default, \code{\link[stats:median]{stats::median()}} is used. Other suggested options | 
					
						
							|  |  |  | include \code{\link[=min]{min()}} and \code{\link[=mean]{mean()}}.} | 
					
						
							| 
									
										
										
										
											2022-02-24 17:39:44 +01:00
										 |  |  | } | 
					
						
							|  |  |  | \value{ | 
					
						
							|  |  |  | An object of class \code{geposan_method}. | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | \description{ | 
					
						
							|  |  |  | A score will be given to each gene such that 0.0 corresponds to the maximal | 
					
						
							| 
									
										
										
										
											2022-02-24 17:44:04 +01:00
										 |  |  | distance across all genes and 1.0 corresponds to a distance of 0. | 
					
						
							| 
									
										
										
										
											2022-02-24 17:39:44 +01:00
										 |  |  | } |