PosteriorProbability
01 Syntax
SMRUCC.genomics.Analysis.Metagenome.BEBaC.PosteriorProbability
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Probability | 1 | For all 3-mer count vectors in a crude cluster c, we assume the probability To observe any 3-mer Is the same. |
| MarginalLikelihood | 1 | Provides an analytical form of the marginal likelihood Of y(N) given the partition S, which Is proportional to the posterior probability as suggested by Equation (2). |
| nj | 1 | Where ncj = ∑yij is the total count Of the j-th 3-mer in cluster c. |
03 Members
Probability(
IEnumerable(Of I3merVector))For all 3-mer count vectors in a crude cluster c, we assume the probability To observe any 3-mer Is the same.
Here we denote the probabilities To observe the 3-mers In cluster c As (pc1, pc2, ... , pc64). Then, the conditional likelihood of the data Is defined as
p(y{n}|D,S) = ∏{c,1->k}∏{j,1->64}pcjMarginalLikelihood(
IEnumerable(Of Cluster))Provides an analytical form of the marginal likelihood Of y(N) given the partition S, which Is proportional to the posterior probability as suggested by Equation (2).
Parameters
| Name | Type | Description |
|---|---|---|
s | IEnumerable(Of Cluster) | - |
nj(
IEnumerable(Of I3merVector), I3Mers)Where ncj = ∑yij is the total count Of the j-th 3-mer in cluster **c**.
Parameters
| Name | Type | Description |
|---|---|---|
c | IEnumerable(Of I3merVector) | - |
j | I3Mers | - |