KenDist: Wrapper for the C program which calculates the Kendall's...

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function calculates the Kendall's τ-distance from the metagenomic count matrix.

Usage

1
KenDist(Data, Penalty)

Arguments

Data

A N \times k matrix comprising the metagenomic count data. If the rows correspond to the samples and the columns correspond to taxa/OTUs, elements of the resulting distance matrix measure dissimilarity between samples.

Penalty

A number between 0 and 1 which determines the penalty for ties.

Value

A N \times N symmetric dissimilarity matrix, where N is the number of samples. If

Author(s)

Deepak Nag Ayyala <deepaknagayyala@gmail.com>

References

Fagin, Ronald et.al. (2004) Comparing partial rankings, SIAM Journal on Discrete Mathematics, 20, 47-58.

See Also

Count2Distance

Examples

1
2
3
4
5
6
7
data(metagencounts)
Distance <- KenDist(Data = metagencounts$Counts, Penalty = 0.5)

## The result obtained in the above example is the same as
## Not run: Distance <- Count2Distance(Data = metagencounts$Counts, 
Distance = "Kendall's tau-distance", Penalty = 0.5);
## End(Not run)

GrammR documentation built on May 1, 2019, 8:46 p.m.