Differential search (Mouse Brain) with API

Dear Allen Community,

I have a question which is related to pull information with a differential search of the Mouse Brain Atlas with API. We noticed that while performing differential search there is a cut-off regarding the maximum number of genes that we receive as differential. The cut-off value is 2.000 genes and we were wondering if it’s possible to circumvent this.

The only thing that we could find so far that has the cut-off of 2.000 rows which corresponds to 2.000 genes is the following:
http://api.brain-map.org/api/v2/data/query.xml?criteria=model::Structure,rma::criteria,[name$il'isocortex'],ontology[abbreviation$eq'Mouse'],pipe::list[contrast$eq'id'],model::Structure,rma::criteria,[name$il'thalamus'],ontology[abbreviation$eq'Mouse'],pipe::list[target$eq'id'],service::mouse_differential[set$eqmouse][structures1$eq$contrast][threshold1$eq0,50][structures2$eq$target][threshold2$eq1,50]

However, while setting the num_rows higher than 2.000 we still received only 2.000 genes. Is there a solution for this problem?

Kind regards,
Joy Otten

Hi @JoyOtten

No, there is not a way to circumvent the 2000 row maximum page size. This limit is in place to prevent denial of service attacks on the API. You should be able to get more than one page of results if your query returns more than the specified or default number of rows.

http://help.brain-map.org/display/api/Connected+Services+and+Pipes#ConnectedServicesandPipes-Parameters.18

Best regards,
Wayne