Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add properties to show selected columns in mutations table on init #9912

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

oplantalech
Copy link
Contributor

An organization has added 150 custom namespace columns to the MAF file for studies. They want to visualize two of these are immediately when a user opens Patient View, together with Gene and Protein Change, while the rest of the columns are hidden in the Columns selection menu.

To do so, we propose to introduce two properties that will allow to define the columns that are shown on initialization for the mutation table, one for the results view and the other for the patient view. If the property is not defined, we keep the default columns that are currently shown in the view. Also, the property works together with the skin.mutation_table.namespace_column.show_by_default property; if it is set to true, it will show all the namespace columns together with the other defined columns in the properties added in this PR.

@alisman
Copy link
Contributor

alisman commented Dec 6, 2022

@oplantalech, is there any convention in the naming of namespace columns? i mean, in their specification, is there any eway to know they are namespace columns?

@oplantalech
Copy link
Contributor Author

@alisman Namespaces are only present in the mutation data. They are all prefixed, and the prefixes are defined in the meta_mutation file. More info: https://docs.cbioportal.org/file-formats/#namespaces

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@pvannierop pvannierop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this PR is needed to use a frontend feature that is already merged in master.

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

Successfully merging this pull request may close these issues.

4 participants