Commit the man pages and make aggregate public again

This commit is contained in:
2018-07-25 21:38:48 +02:00
parent 51f152cca4
commit 052d6edc75
41 changed files with 1659 additions and 5 deletions

32
man/dist.grid.Rd Normal file
View File

@@ -0,0 +1,32 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mstat.R
\name{dist.grid}
\alias{dist.grid}
\title{Computes the pairwise distance matrix as a data.frame where}
\usage{
dist.grid(x, y, labels = NULL)
}
\arguments{
\item{x}{a vector for the X coordinates}
\item{y}{a vector for the Y coordinates}
\item{labels}{a vector with the sample names}
}
\value{
a data.frame instance of three columns
- a : The label of the first sample
- b : The label of the second sample
- dist : The euclidian distance beween sample a and b
}
\description{
Computes the pairwise distance matrix as a data.frame where
}
\examples{
data(termes)
termes.ok = termes[,colSums(termes$reads)>0]
pos = expand.grid(1:3 * 10,1:7 * 10)
labels = rownames(termes.ok)
d = dist.grid(pos[,1],pos[2],labels)
}