Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/datasets_synchronization/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from .models import CGDSStudy, CGDSDatasetSynchronizationState, CGDSStudySynchronizationState, CGDSDataset
from rest_framework import generics, permissions, filters
from django_filters.rest_framework import DjangoFilterBackend
from django_filters.rest_framework import DjangoFilterBackend
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

El import está repetido!

from user_files.models_choices import FileType
from .serializers import CGDSStudySerializer
from django.shortcuts import render, get_object_or_404
Expand Down
10 changes: 5 additions & 5 deletions src/frontend/static/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/frontend/static/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@visx/tooltip": "^3.3.0",
"apexcharts": "^3.52.0",
"axios": "^1.8.4",
"cytoscape": "^3.30.2",
"cytoscape": "^3.33.1",
"d3": "^7.9.0",
"dayjs": "^1.11.13",
"fomantic-ui-css": "^2.9.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { GeneAssociationsNetworkPanel } from './genes/GeneAssociationsNetworkPan
import { MiRNADrugsPanel } from '../../../pipeline/experiment-result/gene-gem-details/MiRNADrugsPanel'
import { MiRNADiseasesPanel } from '../../../pipeline/experiment-result/gene-gem-details/MiRNADiseasesPanel'
import { ActionableCancerGenesPanel } from './genes/ActionableCancerGenesPanel'
import { GeneExpressionRegulationNetworkPanel } from './genes/GeneAssociationsNetwork'

// const MENU_DEFAULT: ActiveBiomarkerMoleculeItemMenu = ActiveBiomarkerMoleculeItemMenu.DETAILS // TODO: use this
const MENU_DEFAULT: ActiveBiomarkerMoleculeItemMenu = ActiveBiomarkerMoleculeItemMenu.DETAILS
Expand Down Expand Up @@ -52,6 +53,8 @@ export const CurrentMoleculeDetails = (props: CurrentMoleculeDetailsProps) => {
return <GeneAssociationsNetworkPanel selectedGene={selectedMolecule} />
case ActiveBiomarkerMoleculeItemMenu.GENE_ONTOLOGY:
return <GeneOntologyPanel selectedMolecule={selectedMolecule} />
case ActiveBiomarkerMoleculeItemMenu.GENE_REGULATION_ASSOCIATIONS:
return <GeneExpressionRegulationNetworkPanel />
case ActiveBiomarkerMoleculeItemMenu.DISEASES:
return <MiRNADiseasesPanel miRNA={selectedMolecule.identifier} />
case ActiveBiomarkerMoleculeItemMenu.DRUGS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ export const MoleculesDetailsMenu = (props: MoleculesDetailsMenuProps) => {
popupInfo: 'Gene Ontology (GO) is a powerful tool for understanding the biological processes, molecular functions, and cellular components associated with a gene',
isVisible: isGene
},
{
name: 'Gene regulation associations',
onClick: () => props.setActiveItem(ActiveBiomarkerMoleculeItemMenu.GENE_REGULATION_ASSOCIATIONS),
isActive: props.activeItem === ActiveBiomarkerMoleculeItemMenu.GENE_REGULATION_ASSOCIATIONS,
popupInfo: 'Gene regulation associations provide insights into the regulatory relationships between genes, helping to unravel the complex mechanisms that control gene expression and cellular function',
isVisible: isGene
},
// TODO: implement
// {
// name: 'Actionable/Cancer genes',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const GeneOntologyCytoscapeChart = (props: GeneOntologyCytoscapeChartProp
style: {
'curve-style': 'bezier',
'target-arrow-shape': 'triangle',
'line-color': function (edge) {
'line-color': function (edge): any {
// Sets the color of the edge depending on the relation_type attribute
const relationType: OntologyRelationTermToTermFilter = edge.data('relation_type')

Expand Down
Loading
Loading