File: sort_dist_mat.Rd

package info (click to toggle)
r-cran-dendextend 1.14.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,888 kB
  • sloc: sh: 13; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cor_cophenetic.R
\name{sort_dist_mat}
\alias{sort_dist_mat}
\title{Sorts a distance matrix by rows and columns names}
\usage{
sort_dist_mat(dist_mat, by_rows = TRUE, by_cols = TRUE, ...)
}
\arguments{
\item{dist_mat}{a distance matrix.}

\item{by_rows}{logical (TRUE). Sort the distance matrix by rows?}

\item{by_cols}{logical (TRUE). Sort the distance matrix by columns?}

\item{...}{Ignored.}
}
\value{
A distance matrix (after sorting)
}
\description{
Sorts a distance matrix by the names of the rows and columns.
}
\seealso{
\link{dist}, \link{cor_cophenetic}
}