Commit a54e89ff authored by joshua-gould's avatar joshua-gould

skip unknown genes

parent bdf80561
......@@ -178,6 +178,9 @@ morpheus.MafFileReader.prototype = {
sampleIdToIndex.set(sample, columnIndex);
}
var gene = String(tokens[geneSymbolColumn]);
if (gene === 'Unknown') {
continue;
}
if (this.geneFilter == null
|| this.geneFilter.has(tokens[geneSymbolColumn])) {
var rowIndex = geneSymbolToIndex.get(gene);
......@@ -257,7 +260,7 @@ morpheus.MafFileReader.prototype = {
if (ccfColumnIndex !== undefined) {
dataset.addSeries({
dataType : 'object',
name : 'ccf',
name : 'allelic_fraction',
array : ccfMatrix
});
}
......
Markdown is supported
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