diff --git a/src/app/components/info-tile/info-tile.component.html b/src/app/components/info-tile/info-tile.component.html index f14f0cd232239bc248e21cc49e8c131d94da8260..5ad6947cf67ea4749f85383a666b2c0be70af41c 100644 --- a/src/app/components/info-tile/info-tile.component.html +++ b/src/app/components/info-tile/info-tile.component.html @@ -4,6 +4,10 @@ <b><span>Label:</span></b> <span class="is-capitalized"> {{ wrapper.data.label }}</span> </p> + <p *ngIf="wrapper.data.proteinName" [ngClass]="{'text-normal':smallStyle}"> + <b><span>Name:</span></b> + <span class="is-capitalized"> {{ wrapper.data.proteinName }}</span> + </p> <p *ngIf="wrapper.data.symbol" [ngClass]="{'text-normal':smallStyle}"> <b><span>Symbol:</span></b> <span class="is-capitalized"> {{ wrapper.data.symbol }}</span> diff --git a/src/app/interfaces.ts b/src/app/interfaces.ts index 218369417fcdedcd1aca15461af997f996a542b4..c93617025f8b74d3af56cd9d2e81dc0eb0c77fc2 100644 --- a/src/app/interfaces.ts +++ b/src/app/interfaces.ts @@ -10,6 +10,7 @@ export interface Node { ensg?: Array<string>; group?: string; groupName?: string; + proteinName?: string; color?: string | any; // mostly any, but vis js allows detail settings shape?: string; image?: string; @@ -168,6 +169,7 @@ export interface Wrapper { interactions?: any; group?: string; groupName?: string; + proteinName?: string; uniprotAc?: string; expressionLevel?: number; gradient?: number;