ucscXena / xena-analysis-grails

0 stars 0 forks source link

fix zsample score #11

Closed nathandunn closed 3 years ago

nathandunn commented 3 years ago

fixes #10

nathandunn commented 3 years ago

When switching cohorts, we get the wrong order for the gene set scores. When I upload a new geneset, especially the same one with a new name (no re-calculation), we get the correct results (pathway sample scores), indicating that the order is wrong:

Correct:

image

Incorrect:

image

nathandunn commented 3 years ago

correct:

image

vs incorrect:

image

nathandunn commented 3 years ago

Its correct, as its still using the client-side activity calculation method, which preserves the zSample scores.

nathandunn commented 3 years ago

The go id, golabel, gene are in reverse order.

image

vs bad:

image

nathandunn commented 3 years ago

The go id, golabel, gene are in reverse order. Pathway Activity is in the SAME order. Samples are correct.

Pathway sample activity is reversed. As such, the pathway activities are associated with the wrong sample activities. So, only the pathway activities are wrong.