Commit the man pages and make aggregate public again
This commit is contained in:
25
man/m.weight.Rd
Normal file
25
man/m.weight.Rd
Normal file
@@ -0,0 +1,25 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/mstat.R
|
||||
\name{m.weight}
|
||||
\alias{m.weight}
|
||||
\title{Computes a weigth matrix from a \code{\linkS4class{metabarcoding.data}}}
|
||||
\usage{
|
||||
m.weight(data)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{a \code{\linkS4class{metabarcoding.data}} instance}
|
||||
}
|
||||
\value{
|
||||
a weight matrix usable for M statistics
|
||||
}
|
||||
\description{
|
||||
The weight can be considered as a propability of presence of a MOTU in a
|
||||
given sample. This function defines this probability as the fraction of
|
||||
the maximal occurrence frequency over all samples.
|
||||
}
|
||||
\examples{
|
||||
data(termes)
|
||||
termes.ok = termes[,colSums(termes$reads)>0]
|
||||
w = m.weight(termes.ok)
|
||||
|
||||
}
|
Reference in New Issue
Block a user