correlation: Score genes based on their correlation with the reference...

View source: R/method_correlation.R

correlationR Documentation

Score genes based on their correlation with the reference genes.

Description

Score genes based on their correlation with the reference genes.

Usage

correlation(
  id = "correlation",
  name = "Correlation",
  description = "Correlation with reference genes",
  summarize = stats::median
)

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 correlation coefficients into one metric. By default, stats::median() is used. Other suggested options include max() and mean().

Value

An object of class geposan_method.


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