Code Monkey home page Code Monkey logo

Comments (6)

eweitz avatar eweitz commented on August 11, 2024

Hi @Mickind, could you attach your annotations data, and post your Ideogram configuration object? That would help diagnose the issue.

from ideogram.

Mickind avatar Mickind commented on August 11, 2024

Hi @eweitz, Thanks for the reply.

I am using the following Ideogram Configuration Object:

config() {
   return {
           organism: 'human',
           orientation: 'horizontal',
           geometry: 'collinear',
           container: '#ideogram',
           sex: this.sex,
           assembly: "GRCh37",
           chrHeight: 100,
           chrMargin: 10,
           legend: this.legend,
           annotationHeight: 60,
           rotatable: false,
           annotationsLayout: 'heatmap',
           annotations:  this.dataIdeogram
         }
}

The this.dataIdeogram variable contains exactly the json that I am attaching to you.

annotationsData.txt

Thanks so much @eweitz !

from ideogram.

Mickind avatar Mickind commented on August 11, 2024

Hi @eweitz, could you kindly tell me if you have updates on the issue?
Thank you very much!

from ideogram.

eweitz avatar eweitz commented on August 11, 2024

@Mickind, no updates yet, unfortunately. My time on Ideogram for the past several months has been filled by improving the related genes kit, e.g. via Homology.js and Gene Hints.

Thanks for your diagnostic information -- it will help anyone who works to resolve this, and I welcome help on this issue.

Would you mind if I asked where you are using Ideogram?

from ideogram.

Mickind avatar Mickind commented on August 11, 2024

Would you mind if I asked where you are using Ideogram?

We are working, with my work team, on a personalised healthcare research project involving the use of genomic and expression data. In order to allow the doctor to view this type of data in the medical record we are creating, ideogram is the best viewer we have found. The data we have sent to you are test (fake) data and do not correspond to real patient data.

Anyway, I hope that the issue will be resolved and I thank anyone who wants to help us. Thanks @eweitz !

from ideogram.

fabionardelli avatar fabionardelli commented on August 11, 2024

Hi, I'm a colleague of @Mickind. After struggling with this for a while, I found a workaround. It consists of assigning the annotations object to the annotationsPath property instead of annotations, pretending it's a file by using:

annotationsPath: URL.createObjectURL(new Blob([JSON.stringify(this.ideogramData)], {type: "application/json;charset=utf-8"})); (VueJS code here)

Doing so the labels are displayed, anyway the browser shows an annoying alert claiming that the file extension (there isn't any in the generated URL) is not one of the allowed ones.
To avoid it I commented out var extension = validateAnnotsUrl(annotsUrl); in annotations.js (line 213).
I know this is not the best solution (pretty abrupt actually), but it allowed us to solve the problem.

from ideogram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.