//for each otu
for (int i = 0; i < lookupFloat[0]->getNumBins(); i++) {
- if (metadatafile == "") { out << m->currentBinLabels[i]; }
+ if (metadatafile == "") { out << m->currentSharedBinLabels[i]; }
else { out << metadataLabels[i]; }
//find the averages this otu - Y
//for each otu
for (int i = 0; i < lookupFloat[0]->getNumBins(); i++) {
- if (metadatafile == "") { out << m->currentBinLabels[i]; }
+ if (metadatafile == "") { out << m->currentSharedBinLabels[i]; }
else { out << metadataLabels[i]; }
//find the ranks of this otu - Y
//for each otu
for (int i = 0; i < lookupFloat[0]->getNumBins(); i++) {
- if (metadatafile == "") { out << m->currentBinLabels[i]; }
+ if (metadatafile == "") { out << m->currentSharedBinLabels[i]; }
else { out << metadataLabels[i]; }
//find the ranks of this otu - Y
for (int h = 0; h < diff; h++) { binLabel += "0"; }
}
binLabel += sbinNumber;
- if (i < m->currentBinLabels.size()) { binLabel = m->currentBinLabels[i]; }
+ if (i < m->currentSharedBinLabels.size()) { binLabel = m->currentSharedBinLabels[i]; }
newBinLabels.push_back(binLabel);
}
for (int j = 0; j < thislookup.size(); j++) { delete thislookup[j]; }
thislookup = newLookup;
- m->currentBinLabels = newBinLabels;
+ m->currentSharedBinLabels = newBinLabels;
return 0;