Skip to content

Commit 492be08

Browse files
committed
Modify num of genes threshold for background gene set
1 parent 68def00 commit 492be08

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/DualViewPlugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ void DualViewPlugin::embeddingDatasetBChanged()
908908
qDebug() << "Mean expression for all cells computed" << _meanExpressionForAllCells.size();
909909

910910
// set the background gene names for the enrichment analysis
911-
if (_embeddingSourceDatasetB->getDimensionNames().size() < 19000) // FIXME: hard code the threshold for the number of genes
911+
if (_embeddingSourceDatasetB->getDimensionNames().size() < 20000) // FIXME: hard code the threshold for the number of genes
912912
{
913913
if (_backgroundGeneNames.size() == _embeddingSourceDatasetB->getDimensionNames().size())
914914
{
@@ -925,7 +925,7 @@ void DualViewPlugin::embeddingDatasetBChanged()
925925
}
926926
}
927927
else
928-
qDebug() << "Background gene names not set: genes more than 19000";
928+
qDebug() << "Background gene names not set: genes at least 20000";
929929

930930
// update 1D embedding
931931
bool oneDEmbeddingExists = false;

0 commit comments

Comments
 (0)