Commit 9d0d0871 authored by mvalle's avatar mvalle
Browse files

Added print of the LRT value

git-svn-id: https://svn.vital-it.ch/svn/hp2c/trunk/Codeml_Variants/Fastcodeml@5554 95c5a404-1f88-0410-a6b0-c3f062b6f34a
parent ee1c914d
......@@ -355,6 +355,14 @@ int main(int aRgc, char **aRgv)
h1.printFinalVars(std::cout);
std::cout << std::endl;
}
if(cmd.mComputeHypothesis > 1)
{
if(lnl0 < DBL_MAX)
std::cout << "LRT: " << std::setprecision(15) << std::fixed << lnl1 - lnl0 << " (threshold: " << std::setprecision(15) << std::fixed << THRESHOLD_FOR_LRT << ')';
else
std::cout << "LRT: < " << std::setprecision(15) << std::fixed << THRESHOLD_FOR_LRT;
std::cout << std::endl;
}
}
// If requested set the time in the forest and export to a graph visualization tool
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment