コード例 #1
0
        public override string ToString()
        {
            string sRest = getA() + "\t" + getB() + "\t" + getC() + "\t" + getD();

            if (getAdditionalData() != null)
            {
                sRest += "\t" + getAdditionalData();
            }
            sRest += "\t" + FalseDiscoveryRate.floor(getFisher2TailPermutationTest());
            if (m_cTableNameColumns == 0)
            {
                return(sRest);
            }
            return(getTableName() + "\t" + sRest);
        }
コード例 #2
0
        public string getData(bool bAll, bool bFiltering, bool bPositiveFDR)
        {
            string sData = "";// +PValue + "\t";

            if (bAll)
            {
                sData += FalseDiscoveryRate.floor(PooledPValue) + "\t";
                if (bFiltering)
                {
                    sData += FalseDiscoveryRate.floor(FilteringPi) + "\t";
                }
                if (bPositiveFDR)
                {
                    sData += FalseDiscoveryRate.floor(RejectionAreaProb) + "\t";
                }
                sData += FalseDiscoveryRate.floor(FDR) + "\t";
            }
            sData += FalseDiscoveryRate.floor(QValue);
            return(sData);
        }