This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Cytoscape, select/filter multpile ID

Maybe I'm missing something, but I cannot find a way to select multiple nodes based on IDs. I can do that using "search" option with OR operator but it requires manual adding of search terms. There is an option to "import filter" but the file (which structure can be seen when you export filter) has a complex structure

`

[ {
  "name" : "Default filter",
  "transformers" : [ {
    "id" : "org.cytoscape.CompositeFilter",
    "parameters" : {
      "type" : "ANY"
    },
    "transformers" : [ {
      "id" : "org.cytoscape.ColumnFilter",
      "parameters" : {
        "predicate" : "CONTAINS",
        "criterion" : "GRMZM6G039492",
        "caseSensitive" : false,
        "type" : "nodes",
        "columnName" : "Pathway"
      }
    }, {
      "id" : "org.cytoscape.ColumnFilter",
      "parameters" : {
        "predicate" : "CONTAINS",
        "criterion" : "GRMZM2G154182",
        "caseSensitive" : false,
        "type" : "nodes",
        "columnName" : "Pathway"
      }
    }, {
      "id" : "org.cytoscape.ColumnFilter",
      "parameters" : {
        "predicate" : "CONTAINS",
        "criterion" : "GRMZM2G062650",
        "caseSensitive" : false,
        "type" : "nodes",
        "columnName" : "Pathway"
      }
    } ]
  } ]
} ]

so code creation to edit it (include multiple interesting IDs) is not very easy.

Any hints would be appreciated.

cytoscape filter

0 answers

No answers yet.

Log in to answer this question.