2022-08-25 13:48:17 +02:00
|
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
|
|
% Please edit documentation in R/laskeMuutokset12345.R
|
|
|
|
|
|
\name{greedyMix_muutokset}
|
|
|
|
|
|
\alias{greedyMix_muutokset}
|
|
|
|
|
|
\title{Calculate changes (greedyMix class)}
|
|
|
|
|
|
\description{
|
|
|
|
|
|
Palauttaa npops*1 taulun, jossa i:s alkio kertoo, mik<69> olisi
|
|
|
|
|
|
muutos logml:ss<73>, mik<69>li yksil<69> ind siirret<65><74>n koriin i.
|
|
|
|
|
|
diffInCounts on poistettava COUNTS:in siivusta i1 ja lis<69>tt<74>v<EFBFBD>
|
|
|
|
|
|
COUNTS:in siivuun i2, mik<69>li muutos toteutetaan.
|
|
|
|
|
|
|
|
|
|
|
|
Lis<EFBFBD>ys 25.9.2007:
|
|
|
|
|
|
Otettu k<>ytt<74><74>n globaali muuttuja LOGDIFF, johon on tallennettu muutokset
|
|
|
|
|
|
logml:ss<73> siirrett<74>ess<73> yksil<69>it<69> toisiin populaatioihin.
|
|
|
|
|
|
}
|
|
|
|
|
|
\section{Methods}{
|
|
|
|
|
|
\subsection{Public methods}{
|
|
|
|
|
|
\itemize{
|
|
|
|
|
|
\item \href{#method-greedyMix_muutokset-laskeMuutokset}{\code{greedyMix_muutokset$laskeMuutokset()}}
|
|
|
|
|
|
\item \href{#method-greedyMix_muutokset-laskeMuutokset2}{\code{greedyMix_muutokset$laskeMuutokset2()}}
|
|
|
|
|
|
\item \href{#method-greedyMix_muutokset-laskeMuutokset3}{\code{greedyMix_muutokset$laskeMuutokset3()}}
|
|
|
|
|
|
\item \href{#method-greedyMix_muutokset-laskeMuutokset5}{\code{greedyMix_muutokset$laskeMuutokset5()}}
|
|
|
|
|
|
\item \href{#method-greedyMix_muutokset-clone}{\code{greedyMix_muutokset$clone()}}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{<hr>}}
|
|
|
|
|
|
\if{html}{\out{<a id="method-greedyMix_muutokset-laskeMuutokset"></a>}}
|
|
|
|
|
|
\if{latex}{\out{\hypertarget{method-greedyMix_muutokset-laskeMuutokset}{}}}
|
|
|
|
|
|
\subsection{Method \code{laskeMuutokset()}}{
|
|
|
|
|
|
\subsection{Usage}{
|
2024-04-10 14:25:22 +02:00
|
|
|
|
\if{html}{\out{<div class="r">}}\preformatted{greedyMix_muutokset$laskeMuutokset(
|
|
|
|
|
|
ind,
|
|
|
|
|
|
globalRows,
|
|
|
|
|
|
data,
|
|
|
|
|
|
adjprior,
|
|
|
|
|
|
priorTerm,
|
|
|
|
|
|
npops
|
|
|
|
|
|
)}\if{html}{\out{</div>}}
|
2022-08-25 13:48:17 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\subsection{Arguments}{
|
|
|
|
|
|
\if{html}{\out{<div class="arguments">}}
|
|
|
|
|
|
\describe{
|
|
|
|
|
|
\item{\code{ind}}{ind}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{globalRows}}{globalRows}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{data}}{data}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{adjprior}}{adjprior}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{priorTerm}}{priorTerm}
|
2024-06-26 14:27:02 +02:00
|
|
|
|
|
|
|
|
|
|
\item{\code{npops}}{Number of populations}
|
2022-08-25 13:48:17 +02:00
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{<hr>}}
|
|
|
|
|
|
\if{html}{\out{<a id="method-greedyMix_muutokset-laskeMuutokset2"></a>}}
|
|
|
|
|
|
\if{latex}{\out{\hypertarget{method-greedyMix_muutokset-laskeMuutokset2}{}}}
|
|
|
|
|
|
\subsection{Method \code{laskeMuutokset2()}}{
|
|
|
|
|
|
\subsection{Usage}{
|
|
|
|
|
|
\if{html}{\out{<div class="r">}}\preformatted{greedyMix_muutokset$laskeMuutokset2(i1, globalRows, data, adjprior, priorTerm)}\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\subsection{Arguments}{
|
|
|
|
|
|
\if{html}{\out{<div class="arguments">}}
|
|
|
|
|
|
\describe{
|
|
|
|
|
|
\item{\code{i1}}{i1}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{globalRows}}{globalRows}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{data}}{data}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{adjprior}}{adjprior}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{priorTerm}}{priorTerm}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{<hr>}}
|
|
|
|
|
|
\if{html}{\out{<a id="method-greedyMix_muutokset-laskeMuutokset3"></a>}}
|
|
|
|
|
|
\if{latex}{\out{\hypertarget{method-greedyMix_muutokset-laskeMuutokset3}{}}}
|
|
|
|
|
|
\subsection{Method \code{laskeMuutokset3()}}{
|
|
|
|
|
|
\subsection{Usage}{
|
|
|
|
|
|
\if{html}{\out{<div class="r">}}\preformatted{greedyMix_muutokset$laskeMuutokset3(
|
|
|
|
|
|
T2,
|
|
|
|
|
|
inds2,
|
|
|
|
|
|
globalRows,
|
|
|
|
|
|
data,
|
|
|
|
|
|
adjprior,
|
|
|
|
|
|
priorTerm,
|
|
|
|
|
|
i1
|
|
|
|
|
|
)}\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\subsection{Arguments}{
|
|
|
|
|
|
\if{html}{\out{<div class="arguments">}}
|
|
|
|
|
|
\describe{
|
|
|
|
|
|
\item{\code{T2}}{T2}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{inds2}}{inds2}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{globalRows}}{globalRows}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{data}}{data}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{adjprior}}{adjprior}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{priorTerm}}{priorTerm}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{i1}}{i1}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{<hr>}}
|
|
|
|
|
|
\if{html}{\out{<a id="method-greedyMix_muutokset-laskeMuutokset5"></a>}}
|
|
|
|
|
|
\if{latex}{\out{\hypertarget{method-greedyMix_muutokset-laskeMuutokset5}{}}}
|
|
|
|
|
|
\subsection{Method \code{laskeMuutokset5()}}{
|
|
|
|
|
|
\subsection{Usage}{
|
|
|
|
|
|
\if{html}{\out{<div class="r">}}\preformatted{greedyMix_muutokset$laskeMuutokset5(
|
|
|
|
|
|
inds,
|
|
|
|
|
|
globalRows,
|
|
|
|
|
|
data,
|
|
|
|
|
|
adjprior,
|
|
|
|
|
|
priorTerm,
|
|
|
|
|
|
i1,
|
|
|
|
|
|
i2
|
|
|
|
|
|
)}\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\subsection{Arguments}{
|
|
|
|
|
|
\if{html}{\out{<div class="arguments">}}
|
|
|
|
|
|
\describe{
|
|
|
|
|
|
\item{\code{inds}}{inds}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{globalRows}}{globalRows}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{data}}{data}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{adjprior}}{adjprior}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{priorTerm}}{priorTerm}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{i1}}{i1}
|
|
|
|
|
|
|
|
|
|
|
|
\item{\code{i2}}{i2}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{<hr>}}
|
|
|
|
|
|
\if{html}{\out{<a id="method-greedyMix_muutokset-clone"></a>}}
|
|
|
|
|
|
\if{latex}{\out{\hypertarget{method-greedyMix_muutokset-clone}{}}}
|
|
|
|
|
|
\subsection{Method \code{clone()}}{
|
|
|
|
|
|
The objects of this class are cloneable with this method.
|
|
|
|
|
|
\subsection{Usage}{
|
|
|
|
|
|
\if{html}{\out{<div class="r">}}\preformatted{greedyMix_muutokset$clone(deep = FALSE)}\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
\subsection{Arguments}{
|
|
|
|
|
|
\if{html}{\out{<div class="arguments">}}
|
|
|
|
|
|
\describe{
|
|
|
|
|
|
\item{\code{deep}}{Whether to make a deep clone.}
|
|
|
|
|
|
}
|
|
|
|
|
|
\if{html}{\out{</div>}}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|