reorder_tau: Reorder parameter calculator

View source: R/diagnostics.R

reorder_tauR Documentation

Reorder parameter calculator

Description

Given two maps with the same markers, calculates the reordering parameter \tau between them. This is based on the rank-correlation, or Kendall correlation.

Usage

reorder_tau(oldmap, newmap)

Arguments

oldmap

a data.frame containing at least "marker" and "position" columns.

newmap

a data.frame containing at least "marker" and "position" columns. All marker names must be present in 'oldmap'.

Value

A single parameter indicating the rank order correlation.

Examples

data("iter_smooth_descent")
old <- sd_iter$iter1$oldmap
new <- sd_iter$iter1$newmap

reorder_tau(old,new)


Alethere/SmoothDescent documentation built on Oct. 21, 2023, 7:11 a.m.