distance: Score the distance of genes to the telomeres across species.

View source: R/method_distance.R

distanceR Documentation

Score the distance of genes to the telomeres across species.

Description

A score will be given to each gene such that 0.0 corresponds to the maximal distance across all genes and 1.0 corresponds to a distance of 0.

Usage

distance(
  id = "distance",
  name = "Distance",
  description = "Distance to telomeres",
  summarize = densest
)

Arguments

id

Unique ID for the method and its results.

name

Human readable name for the method.

description

Method description.

summarize

A function for combining the different proximities into one metric. By default, stats::median() is used. Other suggested options include min() and mean().

Value

An object of class geposan_method.


johrpan/geposan documentation built on Feb. 28, 2025, 3:48 a.m.