Learn R Programming

noisyr (version 1.0.0)

get_methods_correlation_distance: Show the methods for calculating correlation or distance

Description

This function outputs the methods available for the calculation of the correlation or distance. The standard correlation methods use stats::cor and a wide variety of distance methods are available using the philentropy package. To be used as input in calculate_expression_similarity_counts or calculate_expression_similarity_transcript.

Usage

get_methods_correlation_distance(names = TRUE)

Arguments

names

whether to output names (default) or characterisation as similarity or dissimilarity (used internally to invert dissimilarity measures)

Value

A character vector of options for the method arguement of the similarity calculation; if names=FALSE, a vector of types (similarity/dissimilarity measure) of the same length

Examples

Run this code
# NOT RUN {
get_methods_correlation_distance()
# }

Run the code above in your browser using DataLab