Description Usage Arguments Value Author(s) References See Also Examples
This function calculates the Kendall's τ-distance from the metagenomic count matrix.
1 | KenDist(Data, Penalty)
|
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. |
A N \times N symmetric dissimilarity matrix, where N is the number of samples. If
Deepak Nag Ayyala <deepaknagayyala@gmail.com>
Fagin, Ronald et.al. (2004) Comparing partial rankings, SIAM Journal on Discrete Mathematics, 20, 47-58.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.