Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Sorting algorithm #63

Open
willdurand opened this issue Mar 16, 2018 · 0 comments
Open

Sorting algorithm #63

willdurand opened this issue Mar 16, 2018 · 0 comments

Comments

@willdurand
Copy link

Hi,

I tried to understand how the samples where sorted using http://www.cbioportal.org/oncoprinter.jsp with the default example data but I failed. At first, I thought that was given the natural order of the genes to sort the tracks on Y, and then the samples (on X) were sorted given the natural order of the samples of the first gene. This obviously is not correct.

I found out that we could maybe sort the events alphabetically but this, again, was not correct. I tried to dig into the source code of this lib but I got lost and I don't really find good resources on this. Is there a de facto sorting algorithm for OncoPrint charts? I have read about mutual exclusivity, like here where the "memo sort" is mentioned but this paper talks about something slightly different if I am not mistaken. Given that there has different versions of the OncoPrint, I am not sure where to find the information, hence this issue.

I hope someone could help me figure out how to sort the genes, samples and events as done on the cBioPortal. Thank you for your help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant